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 473294 bytes 77014410 (73.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 400808 bytes 308571371 (294.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 63921 bytes 11230214 (10.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 63921 bytes 11230214 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 473431 bytes 77039441 (73.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 400924 bytes 308590167 (294.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 64033 bytes 11249744 (10.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64033 bytes 11249744 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 473519 bytes 77054241 (73.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 400973 bytes 308597252 (294.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 64033 bytes 11249744 (10.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64033 bytes 11249744 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 473658 bytes 77079445 (73.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401089 bytes 308616181 (294.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 64147 bytes 11269418 (10.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64147 bytes 11269418 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 473747 bytes 77094267 (73.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401137 bytes 308623081 (294.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 64147 bytes 11269418 (10.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64147 bytes 11269418 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 473900 bytes 77123173 (73.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401275 bytes 308645634 (294.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 64261 bytes 11288988 (10.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64261 bytes 11288988 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 473986 bytes 77138430 (73.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401327 bytes 308652966 (294.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 64261 bytes 11288988 (10.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64261 bytes 11288988 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 474123 bytes 77163462 (73.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401439 bytes 308671480 (294.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 64381 bytes 11309094 (10.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64381 bytes 11309094 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 474214 bytes 77178786 (73.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401489 bytes 308678532 (294.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 64381 bytes 11309094 (10.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64381 bytes 11309094 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 474351 bytes 77203849 (73.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401597 bytes 308696728 (294.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 64501 bytes 11329140 (10.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64501 bytes 11329140 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 474444 bytes 77219179 (73.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401658 bytes 308704711 (294.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 64503 bytes 11329260 (10.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64503 bytes 11329260 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 474594 bytes 77247991 (73.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401791 bytes 308726818 (294.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 64614 bytes 11348718 (10.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64614 bytes 11348718 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 474692 bytes 77264151 (73.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401849 bytes 308734583 (294.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 64614 bytes 11348718 (10.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64614 bytes 11348718 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 474829 bytes 77289149 (73.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 401963 bytes 308753365 (294.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 64725 bytes 11368176 (10.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64725 bytes 11368176 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 474926 bytes 77305150 (73.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402018 bytes 308760799 (294.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 64725 bytes 11368176 (10.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64725 bytes 11368176 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 475059 bytes 77329902 (73.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402132 bytes 308779592 (294.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 64838 bytes 11387734 (10.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64838 bytes 11387734 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 475171 bytes 77349151 (73.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402207 bytes 308790653 (294.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 64841 bytes 11387890 (10.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64841 bytes 11387890 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 475305 bytes 77374639 (73.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402316 bytes 308808889 (294.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 64951 bytes 11407276 (10.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64951 bytes 11407276 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 475405 bytes 77390346 (73.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402366 bytes 308816119 (294.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 64951 bytes 11407276 (10.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 64951 bytes 11407276 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 475548 bytes 77415962 (73.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402480 bytes 308834739 (294.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 65060 bytes 11426590 (10.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65060 bytes 11426590 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 475640 bytes 77431357 (73.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402531 bytes 308842011 (294.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 65060 bytes 11426590 (10.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65060 bytes 11426590 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 475779 bytes 77457167 (73.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402647 bytes 308860785 (294.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 65174 bytes 11446208 (10.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65174 bytes 11446208 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 475873 bytes 77472992 (73.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402697 bytes 308867920 (294.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 65177 bytes 11446388 (10.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65177 bytes 11446388 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 476010 bytes 77498069 (73.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402818 bytes 308887161 (294.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 65290 bytes 11465990 (10.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65290 bytes 11465990 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 476129 bytes 77517927 (73.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 402895 bytes 308898454 (294.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 65290 bytes 11465990 (10.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65290 bytes 11465990 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 476261 bytes 77542532 (73.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403008 bytes 308917000 (294.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 65402 bytes 11485520 (10.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65402 bytes 11485520 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 476380 bytes 77562223 (73.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403082 bytes 308927993 (294.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 65408 bytes 11485848 (10.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65408 bytes 11485848 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 476513 bytes 77586760 (73.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403194 bytes 308946474 (294.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 65521 bytes 11505450 (10.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65521 bytes 11505450 (10.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 476701 bytes 77611714 (74.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403511 bytes 309312255 (294.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 65622 bytes 11855563 (11.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65622 bytes 11855563 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 476837 bytes 77636753 (74.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403620 bytes 309330632 (295.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 65732 bytes 11874949 (11.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65732 bytes 11874949 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 476935 bytes 77652189 (74.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403674 bytes 309338009 (295.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 65732 bytes 11874949 (11.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65732 bytes 11874949 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 477120 bytes 77692274 (74.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403871 bytes 309413180 (295.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 65841 bytes 11894263 (11.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65841 bytes 11894263 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 477223 bytes 77708676 (74.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 403933 bytes 309421378 (295.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 65841 bytes 11894263 (11.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65841 bytes 11894263 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 477348 bytes 77732776 (74.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 404040 bytes 309439511 (295.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 65956 bytes 11913997 (11.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65956 bytes 11913997 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 477437 bytes 77747520 (74.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 404094 bytes 309446860 (295.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 65961 bytes 11914297 (11.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 65961 bytes 11914297 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 477567 bytes 77771970 (74.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 404203 bytes 309465109 (295.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 66077 bytes 11934103 (11.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66077 bytes 11934103 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 477706 bytes 77796163 (74.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 404307 bytes 309480658 (295.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 66083 bytes 11934431 (11.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66083 bytes 11934431 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 477831 bytes 77820745 (74.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 404421 bytes 309499245 (295.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 66195 bytes 11953961 (11.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66195 bytes 11953961 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 477922 bytes 77835688 (74.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 404466 bytes 309505958 (295.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 66195 bytes 11953961 (11.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66195 bytes 11953961 (11.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/16/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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 478054 bytes 77860546 (74.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 404574 bytes 309523987 (295.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 66300 bytes 11972951 (11.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66300 bytes 11972951 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 478150 bytes 77875960 (74.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 404624 bytes 309531205 (295.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 66300 bytes 11972951 (11.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66300 bytes 11972951 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 478293 bytes 77901301 (74.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 404747 bytes 309550466 (295.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 66410 bytes 11992337 (11.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66410 bytes 11992337 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 478388 bytes 77916811 (74.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 404800 bytes 309558028 (295.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 66410 bytes 11992337 (11.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66410 bytes 11992337 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 478516 bytes 77941125 (74.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 404915 bytes 309576755 (295.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 66525 bytes 12012083 (11.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66525 bytes 12012083 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 478609 bytes 77956760 (74.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 404966 bytes 309584060 (295.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 66525 bytes 12012083 (11.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66525 bytes 12012083 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 478741 bytes 77981399 (74.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 405080 bytes 309602627 (295.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 66631 bytes 12031181 (11.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66631 bytes 12031181 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 478855 bytes 77999836 (74.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 405154 bytes 309613713 (295.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 66643 bytes 12031869 (11.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66643 bytes 12031869 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 478990 bytes 78025728 (74.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 405273 bytes 309632844 (295.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 66760 bytes 12051747 (11.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66760 bytes 12051747 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 479093 bytes 78044386 (74.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 405347 bytes 309643771 (295.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 66760 bytes 12051747 (11.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66760 bytes 12051747 (11.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 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 479233 bytes 78069868 (74.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 405457 bytes 309662226 (295.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 66870 bytes 12071133 (11.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66870 bytes 12071133 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 479327 bytes 78085695 (74.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 405513 bytes 309669735 (295.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 66870 bytes 12071133 (11.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66870 bytes 12071133 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 479464 bytes 78110676 (74.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 405624 bytes 309688118 (295.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 66981 bytes 12090591 (11.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66981 bytes 12090591 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 479566 bytes 78126663 (74.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 405687 bytes 309696358 (295.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 66981 bytes 12090591 (11.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 66981 bytes 12090591 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 479691 bytes 78150770 (74.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 405795 bytes 309714497 (295.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 67091 bytes 12109977 (11.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67091 bytes 12109977 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 479779 bytes 78165503 (74.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 405849 bytes 309721910 (295.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 67091 bytes 12109977 (11.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67091 bytes 12109977 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 479919 bytes 78190725 (74.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 405963 bytes 309740621 (295.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 67203 bytes 12129507 (11.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67203 bytes 12129507 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 480012 bytes 78206309 (74.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 406017 bytes 309748074 (295.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 67206 bytes 12129679 (11.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67206 bytes 12129679 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 480153 bytes 78234221 (74.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 406146 bytes 309769890 (295.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 67321 bytes 12149365 (11.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67321 bytes 12149365 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 480247 bytes 78249444 (74.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 406194 bytes 309776854 (295.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 67327 bytes 12149725 (11.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67327 bytes 12149725 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 480387 bytes 78275027 (74.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 406310 bytes 309795665 (295.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 67438 bytes 12169171 (11.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67438 bytes 12169171 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 480491 bytes 78293993 (74.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 406385 bytes 309806843 (295.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 67438 bytes 12169171 (11.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67438 bytes 12169171 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 480631 bytes 78319076 (74.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 406502 bytes 309825678 (295.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 67547 bytes 12188485 (11.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67547 bytes 12188485 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 480723 bytes 78334970 (74.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 406555 bytes 309833241 (295.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 67547 bytes 12188485 (11.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67547 bytes 12188485 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 480850 bytes 78359351 (74.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 406666 bytes 309851621 (295.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 67658 bytes 12207943 (11.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67658 bytes 12207943 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 480935 bytes 78374047 (74.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 406714 bytes 309858626 (295.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 67658 bytes 12207943 (11.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67658 bytes 12207943 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 481068 bytes 78398674 (74.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 406830 bytes 309877357 (295.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 67766 bytes 12227185 (11.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67766 bytes 12227185 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 481157 bytes 78413497 (74.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 406878 bytes 309884262 (295.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 67766 bytes 12227185 (11.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67766 bytes 12227185 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 481312 bytes 78442843 (74.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 407018 bytes 309907136 (295.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 67888 bytes 12247331 (11.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67888 bytes 12247331 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 481394 bytes 78457471 (74.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 407067 bytes 309914115 (295.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 67888 bytes 12247331 (11.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 67888 bytes 12247331 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 481539 bytes 78483322 (74.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 407178 bytes 309932625 (295.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 68000 bytes 12266861 (11.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68000 bytes 12266861 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 481636 bytes 78498699 (74.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 407233 bytes 309940050 (295.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 68005 bytes 12267161 (11.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68005 bytes 12267161 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 481765 bytes 78523036 (74.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 407343 bytes 309958342 (295.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 68115 bytes 12286523 (11.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68115 bytes 12286523 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 481874 bytes 78542270 (74.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 407425 bytes 309970007 (295.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 68115 bytes 12286523 (11.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68115 bytes 12286523 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 482010 bytes 78567246 (74.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 407536 bytes 309988515 (295.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 68223 bytes 12305765 (11.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68223 bytes 12305765 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 482102 bytes 78582875 (74.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 407589 bytes 309995821 (295.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 68223 bytes 12305765 (11.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68223 bytes 12305765 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 482233 bytes 78607206 (74.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 407699 bytes 310014051 (295.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 68332 bytes 12325079 (11.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68332 bytes 12325079 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 482334 bytes 78623032 (74.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 407757 bytes 310021875 (295.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 68332 bytes 12325079 (11.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68332 bytes 12325079 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 482495 bytes 78652461 (75.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 407895 bytes 310044376 (295.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 68451 bytes 12344989 (11.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68451 bytes 12344989 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 482581 bytes 78667080 (75.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 407944 bytes 310051418 (295.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 68451 bytes 12344989 (11.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68451 bytes 12344989 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 482731 bytes 78693166 (75.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 408052 bytes 310069667 (295.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 68561 bytes 12364375 (11.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68561 bytes 12364375 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 482821 bytes 78708605 (75.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 408102 bytes 310076828 (295.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 68561 bytes 12364375 (11.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68561 bytes 12364375 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 482953 bytes 78733176 (75.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 408219 bytes 310095639 (295.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 68668 bytes 12383545 (11.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68668 bytes 12383545 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 483048 bytes 78748471 (75.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 408267 bytes 310102645 (295.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 68672 bytes 12383785 (11.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68672 bytes 12383785 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 483185 bytes 78773472 (75.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 408384 bytes 310121527 (295.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 68792 bytes 12403855 (11.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68792 bytes 12403855 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 483272 bytes 78788394 (75.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 408436 bytes 310128877 (295.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 68792 bytes 12403855 (11.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68792 bytes 12403855 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 483416 bytes 78816688 (75.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 408574 bytes 310151310 (295.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 68899 bytes 12423025 (11.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68899 bytes 12423025 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 483515 bytes 78832162 (75.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 408622 bytes 310158216 (295.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 68899 bytes 12423025 (11.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 68899 bytes 12423025 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 483671 bytes 78860496 (75.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 408760 bytes 310180967 (295.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 69012 bytes 12442523 (11.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69012 bytes 12442523 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 483764 bytes 78876592 (75.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 408812 bytes 310188189 (295.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 69012 bytes 12442523 (11.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69012 bytes 12442523 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 483895 bytes 78901210 (75.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 408919 bytes 310206237 (295.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 69119 bytes 12461693 (11.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69119 bytes 12461693 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 483990 bytes 78916658 (75.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 408977 bytes 310214093 (295.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 69119 bytes 12461693 (11.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69119 bytes 12461693 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 484125 bytes 78942029 (75.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 409087 bytes 310232461 (295.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 69229 bytes 12481079 (11.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69229 bytes 12481079 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 484229 bytes 78958295 (75.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 409143 bytes 310240098 (295.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 69229 bytes 12481079 (11.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69229 bytes 12481079 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 484358 bytes 78982819 (75.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 409255 bytes 310258695 (295.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 69342 bytes 12500681 (11.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69342 bytes 12500681 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 484450 bytes 78997873 (75.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 409308 bytes 310265961 (295.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 69342 bytes 12500681 (11.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69342 bytes 12500681 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 484578 bytes 79022248 (75.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 409418 bytes 310284235 (295.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 69462 bytes 12520715 (11.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69462 bytes 12520715 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 484666 bytes 79036932 (75.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 409471 bytes 310291540 (295.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 69463 bytes 12520775 (11.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69463 bytes 12520775 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 484825 bytes 79066357 (75.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 409615 bytes 310314627 (295.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 69577 bytes 12540405 (11.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69577 bytes 12540405 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 484942 bytes 79085960 (75.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 409689 bytes 310325621 (295.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 69580 bytes 12540561 (11.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69580 bytes 12540561 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 485082 bytes 79111765 (75.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 409796 bytes 310343677 (295.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 69686 bytes 12559659 (11.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69686 bytes 12559659 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 485171 bytes 79126613 (75.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 409842 bytes 310350467 (295.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 69686 bytes 12559659 (11.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69686 bytes 12559659 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 485302 bytes 79151812 (75.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 409959 bytes 310369332 (295.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 69797 bytes 12579117 (11.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69797 bytes 12579117 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 485400 bytes 79167415 (75.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 410016 bytes 310377138 (295.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 69797 bytes 12579117 (11.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69797 bytes 12579117 (11.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 485537 bytes 79192371 (75.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 410128 bytes 310395585 (296.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 69908 bytes 12598575 (12.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69908 bytes 12598575 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 485629 bytes 79207754 (75.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 410176 bytes 310402464 (296.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 69908 bytes 12598575 (12.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 69908 bytes 12598575 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 485765 bytes 79232827 (75.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 410289 bytes 310421183 (296.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 70018 bytes 12617961 (12.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70018 bytes 12617961 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 485862 bytes 79248248 (75.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 410343 bytes 310428653 (296.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 70018 bytes 12617961 (12.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70018 bytes 12617961 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 485989 bytes 79272574 (75.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 410456 bytes 310447140 (296.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 70131 bytes 12637491 (12.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70131 bytes 12637491 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 486100 bytes 79291800 (75.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 410532 bytes 310458234 (296.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 70138 bytes 12637879 (12.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70138 bytes 12637879 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 486251 bytes 79320782 (75.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 410667 bytes 310480596 (296.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 70241 bytes 12656761 (12.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70241 bytes 12656761 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 486339 bytes 79335618 (75.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 410721 bytes 310487977 (296.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 70241 bytes 12656761 (12.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70241 bytes 12656761 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 486463 bytes 79360157 (75.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 410826 bytes 310505906 (296.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 70353 bytes 12676291 (12.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70353 bytes 12676291 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 486555 bytes 79376073 (75.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 410885 bytes 310513792 (296.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 70353 bytes 12676291 (12.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70353 bytes 12676291 (12.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/16/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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 486692 bytes 79400963 (75.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 410997 bytes 310532375 (296.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 70461 bytes 12695533 (12.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70461 bytes 12695533 (12.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 486782 bytes 79415946 (75.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 411051 bytes 310539756 (296.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 70461 bytes 12695533 (12.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70461 bytes 12695533 (12.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 486914 bytes 79440516 (75.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 411155 bytes 310557591 (296.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 70572 bytes 12714991 (12.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70572 bytes 12714991 (12.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 487009 bytes 79456217 (75.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 411213 bytes 310565415 (296.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 70572 bytes 12714991 (12.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70572 bytes 12714991 (12.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 487138 bytes 79480529 (75.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 411322 bytes 310583590 (296.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 70683 bytes 12734449 (12.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70683 bytes 12734449 (12.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 487255 bytes 79500387 (75.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 411406 bytes 310595454 (296.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 70689 bytes 12734777 (12.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70689 bytes 12734777 (12.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 487387 bytes 79525132 (75.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 411515 bytes 310613679 (296.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 70806 bytes 12754595 (12.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70806 bytes 12754595 (12.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 487481 bytes 79540443 (75.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 411567 bytes 310621005 (296.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 70807 bytes 12754655 (12.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70807 bytes 12754655 (12.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 487634 bytes 79569350 (75.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 411710 bytes 310643891 (296.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 70919 bytes 12774185 (12.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70919 bytes 12774185 (12.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 487734 bytes 79585369 (75.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 411767 bytes 310651790 (296.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 70919 bytes 12774185 (12.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 70919 bytes 12774185 (12.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 487868 bytes 79610048 (75.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 411883 bytes 310670602 (296.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 71033 bytes 12793859 (12.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71033 bytes 12793859 (12.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 487950 bytes 79624403 (75.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 411930 bytes 310677394 (296.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 71033 bytes 12793859 (12.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71033 bytes 12793859 (12.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 488075 bytes 79648698 (75.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 412046 bytes 310696274 (296.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 71140 bytes 12813029 (12.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71140 bytes 12813029 (12.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 488161 bytes 79663315 (75.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 412093 bytes 310703094 (296.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 71140 bytes 12813029 (12.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71140 bytes 12813029 (12.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 488290 bytes 79687602 (75.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 412203 bytes 310721418 (296.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 71248 bytes 12832271 (12.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71248 bytes 12832271 (12.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 488406 bytes 79707260 (76.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 412284 bytes 310733125 (296.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 71254 bytes 12832599 (12.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71254 bytes 12832599 (12.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 488545 bytes 79733464 (76.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 412398 bytes 310751733 (296.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 71362 bytes 12851841 (12.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71362 bytes 12851841 (12.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 488638 bytes 79748532 (76.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 412450 bytes 310758906 (296.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 71362 bytes 12851841 (12.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71362 bytes 12851841 (12.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 488795 bytes 79779078 (76.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 412605 bytes 310830082 (296.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 71476 bytes 12871455 (12.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71476 bytes 12871455 (12.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 488898 bytes 79795295 (76.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 412673 bytes 310838722 (296.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 71478 bytes 12871575 (12.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71478 bytes 12871575 (12.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 489042 bytes 79823420 (76.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 412801 bytes 310860478 (296.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 71587 bytes 12890889 (12.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71587 bytes 12890889 (12.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 489137 bytes 79838656 (76.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 412854 bytes 310867773 (296.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 71587 bytes 12890889 (12.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71587 bytes 12890889 (12.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 489276 bytes 79863567 (76.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 412960 bytes 310885788 (296.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 71698 bytes 12910347 (12.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71698 bytes 12910347 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 489373 bytes 79879136 (76.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 413018 bytes 310893612 (296.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 71698 bytes 12910347 (12.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71698 bytes 12910347 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 489501 bytes 79903257 (76.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 413130 bytes 310912042 (296.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 71811 bytes 12929949 (12.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71811 bytes 12929949 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 489595 bytes 79918721 (76.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 413189 bytes 310920017 (296.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 71814 bytes 12930121 (12.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71814 bytes 12930121 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 489745 bytes 79947634 (76.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 413320 bytes 310942033 (296.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 71932 bytes 12950023 (12.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71932 bytes 12950023 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 489837 bytes 79962969 (76.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 413365 bytes 310948706 (296.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 71932 bytes 12950023 (12.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 71932 bytes 12950023 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 489969 bytes 79987480 (76.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 413481 bytes 310967459 (296.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 72046 bytes 12969697 (12.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72046 bytes 12969697 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 490066 bytes 80003074 (76.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 413534 bytes 310974863 (296.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 72046 bytes 12969697 (12.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72046 bytes 12969697 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 490197 bytes 80027431 (76.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 413648 bytes 310993432 (296.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 72159 bytes 12989251 (12.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72159 bytes 12989251 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 490292 bytes 80042832 (76.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 413699 bytes 311000741 (296.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 72162 bytes 12989431 (12.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72162 bytes 12989431 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 490418 bytes 80067176 (76.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 413810 bytes 311019328 (296.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 72272 bytes 13008817 (12.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72272 bytes 13008817 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 490526 bytes 80086781 (76.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 413885 bytes 311030346 (296.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 72272 bytes 13008817 (12.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72272 bytes 13008817 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 490660 bytes 80111492 (76.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 414000 bytes 311048965 (296.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 72380 bytes 13028059 (12.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72380 bytes 13028059 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 490752 bytes 80126639 (76.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 414052 bytes 311056304 (296.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 72380 bytes 13028059 (12.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72380 bytes 13028059 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 490905 bytes 80155785 (76.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 414185 bytes 311078546 (296.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 72495 bytes 13047701 (12.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72495 bytes 13047701 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 491003 bytes 80171122 (76.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 414234 bytes 311085559 (296.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 72495 bytes 13047701 (12.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72495 bytes 13047701 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 491137 bytes 80195651 (76.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 414339 bytes 311103527 (296.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 72603 bytes 13066943 (12.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72603 bytes 13066943 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 491237 bytes 80212077 (76.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 414405 bytes 311112051 (296.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 72603 bytes 13066943 (12.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72603 bytes 13066943 (12.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 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 491365 bytes 80236567 (76.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 414517 bytes 311130662 (296.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 72712 bytes 13086257 (12.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72712 bytes 13086257 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 491460 bytes 80251823 (76.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 414570 bytes 311137955 (296.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 72712 bytes 13086257 (12.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72712 bytes 13086257 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 491591 bytes 80276183 (76.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 414674 bytes 311155837 (296.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 72822 bytes 13105643 (12.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72822 bytes 13105643 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 491677 bytes 80290950 (76.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 414728 bytes 311163254 (296.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 72828 bytes 13106003 (12.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72828 bytes 13106003 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 491819 bytes 80316170 (76.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 414842 bytes 311181925 (296.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 72938 bytes 13125377 (12.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72938 bytes 13125377 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 491922 bytes 80334924 (76.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 414919 bytes 311193097 (296.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 72938 bytes 13125377 (12.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 72938 bytes 13125377 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 492079 bytes 80364324 (76.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 415051 bytes 311215311 (296.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 73058 bytes 13145379 (12.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73058 bytes 13145379 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 492170 bytes 80379459 (76.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 415101 bytes 311222546 (296.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 73058 bytes 13145379 (12.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73058 bytes 13145379 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 492303 bytes 80404096 (76.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 415218 bytes 311241369 (296.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 73171 bytes 13164981 (12.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73171 bytes 13164981 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 492395 bytes 80419355 (76.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 415269 bytes 311248653 (296.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 73171 bytes 13164981 (12.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73171 bytes 13164981 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 492531 bytes 80444213 (76.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 415381 bytes 311267110 (296.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 73280 bytes 13184295 (12.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73280 bytes 13184295 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 492617 bytes 80459299 (76.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 415432 bytes 311274419 (296.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 73280 bytes 13184295 (12.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73280 bytes 13184295 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 492756 bytes 80484351 (76.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 415548 bytes 311293172 (296.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 73393 bytes 13203897 (12.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73393 bytes 13203897 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 492838 bytes 80498780 (76.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 415595 bytes 311300037 (296.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 73393 bytes 13203897 (12.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73393 bytes 13203897 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 492970 bytes 80523601 (76.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 415713 bytes 311319046 (296.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 73503 bytes 13223283 (12.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73503 bytes 13223283 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 493052 bytes 80537833 (76.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 415760 bytes 311325870 (296.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 73509 bytes 13223643 (12.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73509 bytes 13223643 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 493201 bytes 80565676 (76.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 415889 bytes 311347292 (296.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 73626 bytes 13243417 (12.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73626 bytes 13243417 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 493318 bytes 80586402 (76.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 415970 bytes 311359270 (296.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 73626 bytes 13243417 (12.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73626 bytes 13243417 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 493457 bytes 80611437 (76.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 416078 bytes 311377501 (296.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 73735 bytes 13262739 (12.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73735 bytes 13262739 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 493547 bytes 80626708 (76.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 416137 bytes 311385386 (296.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 73735 bytes 13262739 (12.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73735 bytes 13262739 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 493678 bytes 80651215 (76.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 416242 bytes 311403391 (296.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 73850 bytes 13282485 (12.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73850 bytes 13282485 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 493768 bytes 80666363 (76.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 416301 bytes 311411290 (296.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 73850 bytes 13282485 (12.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73850 bytes 13282485 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 493892 bytes 80690335 (76.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 416408 bytes 311429390 (297.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 73963 bytes 13302087 (12.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73963 bytes 13302087 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 493985 bytes 80705878 (76.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 416461 bytes 311436697 (297.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 73963 bytes 13302087 (12.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 73963 bytes 13302087 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 494117 bytes 80730565 (76.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 416574 bytes 311455381 (297.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 74072 bytes 13321453 (12.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74072 bytes 13321453 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 494210 bytes 80745573 (77.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 416626 bytes 311462614 (297.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 74072 bytes 13321453 (12.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74072 bytes 13321453 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 494348 bytes 80770763 (77.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 416734 bytes 311480765 (297.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 74184 bytes 13340983 (12.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74184 bytes 13340983 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 494458 bytes 80789932 (77.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 416805 bytes 311491585 (297.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 74196 bytes 13341671 (12.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74196 bytes 13341671 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 494596 bytes 80815043 (77.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 416925 bytes 311510785 (297.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 74307 bytes 13361117 (12.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74307 bytes 13361117 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 494708 bytes 80834639 (77.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 417005 bytes 311522279 (297.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 74307 bytes 13361117 (12.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74307 bytes 13361117 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 494843 bytes 80859470 (77.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 417118 bytes 311540873 (297.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 74418 bytes 13380575 (12.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74418 bytes 13380575 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 494926 bytes 80874125 (77.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 417170 bytes 311548227 (297.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 74418 bytes 13380575 (12.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74418 bytes 13380575 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 495054 bytes 80898943 (77.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 417286 bytes 311566923 (297.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 74524 bytes 13399673 (12.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74524 bytes 13399673 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 495143 bytes 80913783 (77.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 417334 bytes 311573805 (297.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 74524 bytes 13399673 (12.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74524 bytes 13399673 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 495275 bytes 80938446 (77.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 417450 bytes 311592521 (297.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 74632 bytes 13418915 (12.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74632 bytes 13418915 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 495367 bytes 80953808 (77.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 417497 bytes 311599341 (297.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 74632 bytes 13418915 (12.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74632 bytes 13418915 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 495503 bytes 80979065 (77.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 417614 bytes 311618298 (297.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 74742 bytes 13438301 (12.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74742 bytes 13438301 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 495605 bytes 80997820 (77.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 417689 bytes 311629444 (297.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 74748 bytes 13438629 (12.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74748 bytes 13438629 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 495742 bytes 81022624 (77.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 417795 bytes 311647523 (297.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 74859 bytes 13458087 (12.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74859 bytes 13458087 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 495842 bytes 81038525 (77.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 417857 bytes 311655730 (297.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 74864 bytes 13458387 (12.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74864 bytes 13458387 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 495977 bytes 81063227 (77.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 417960 bytes 311673511 (297.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 74977 bytes 13477965 (12.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74977 bytes 13477965 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 496088 bytes 81082602 (77.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 418042 bytes 311685181 (297.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 74977 bytes 13477965 (12.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 74977 bytes 13477965 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 496219 bytes 81107170 (77.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 418148 bytes 311703219 (297.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 75086 bytes 13497279 (12.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75086 bytes 13497279 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 496310 bytes 81122240 (77.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 418205 bytes 311710958 (297.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 75086 bytes 13497279 (12.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75086 bytes 13497279 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 496445 bytes 81147028 (77.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 418314 bytes 311729175 (297.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 75197 bytes 13516737 (12.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75197 bytes 13516737 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 496535 bytes 81161809 (77.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 418365 bytes 311736322 (297.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 75197 bytes 13516737 (12.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75197 bytes 13516737 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 496676 bytes 81187365 (77.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 418479 bytes 311755045 (297.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 75311 bytes 13536411 (12.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75311 bytes 13536411 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 496791 bytes 81207319 (77.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 418556 bytes 311766299 (297.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 75318 bytes 13536791 (12.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75318 bytes 13536791 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 496927 bytes 81232272 (77.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 418671 bytes 311785060 (297.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 75425 bytes 13555961 (12.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75425 bytes 13555961 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 497022 bytes 81247623 (77.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 418723 bytes 311792417 (297.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 75425 bytes 13555961 (12.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75425 bytes 13555961 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 497158 bytes 81272490 (77.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 418834 bytes 311810848 (297.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 75538 bytes 13575563 (12.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75538 bytes 13575563 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 497242 bytes 81287039 (77.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 418880 bytes 311817639 (297.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 75542 bytes 13575803 (12.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75542 bytes 13575803 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 497373 bytes 81311439 (77.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 418991 bytes 311836034 (297.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 75652 bytes 13595153 (12.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75652 bytes 13595153 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 497465 bytes 81326659 (77.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 419044 bytes 311843431 (297.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 75652 bytes 13595153 (12.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75652 bytes 13595153 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 497613 bytes 81355379 (77.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 419181 bytes 311865999 (297.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 75758 bytes 13614251 (12.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75758 bytes 13614251 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 497707 bytes 81370529 (77.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 419230 bytes 311872951 (297.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 75758 bytes 13614251 (12.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75758 bytes 13614251 (12.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 497840 bytes 81395458 (77.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 419343 bytes 311891474 (297.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 75871 bytes 13633853 (13.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75871 bytes 13633853 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 497960 bytes 81415281 (77.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 419422 bytes 311902998 (297.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 75877 bytes 13634181 (13.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75877 bytes 13634181 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 498093 bytes 81439776 (77.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 419529 bytes 311921047 (297.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 75988 bytes 13653639 (13.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75988 bytes 13653639 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 498204 bytes 81456880 (77.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 419594 bytes 311929557 (297.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 75988 bytes 13653639 (13.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 75988 bytes 13653639 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 498335 bytes 81481429 (77.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 419699 bytes 311947524 (297.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 76101 bytes 13673241 (13.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76101 bytes 13673241 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 498430 bytes 81496780 (77.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 419754 bytes 311954951 (297.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 76101 bytes 13673241 (13.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76101 bytes 13673241 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 498562 bytes 81521469 (77.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 419861 bytes 311973112 (297.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 76206 bytes 13692223 (13.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76206 bytes 13692223 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 498651 bytes 81536393 (77.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 419916 bytes 311980510 (297.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 76206 bytes 13692223 (13.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76206 bytes 13692223 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 498776 bytes 81560436 (77.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 420025 bytes 311998707 (297.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 76322 bytes 13711969 (13.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76322 bytes 13711969 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 498862 bytes 81574950 (77.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 420077 bytes 312005928 (297.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 76323 bytes 13712029 (13.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76323 bytes 13712029 (13.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/16/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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 499021 bytes 81604672 (77.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 420214 bytes 312028470 (297.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 76436 bytes 13731631 (13.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76436 bytes 13731631 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 499109 bytes 81619592 (77.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 420266 bytes 312035811 (297.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 76439 bytes 13731803 (13.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76439 bytes 13731803 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 499260 bytes 81648301 (77.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 420399 bytes 312057939 (297.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 76553 bytes 13751417 (13.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76553 bytes 13751417 (13.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 499356 bytes 81664089 (77.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 420456 bytes 312065815 (297.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 76553 bytes 13751417 (13.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76553 bytes 13751417 (13.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 499495 bytes 81689112 (77.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 420568 bytes 312084331 (297.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 76665 bytes 13770947 (13.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76665 bytes 13770947 (13.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 499589 bytes 81704809 (77.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 420619 bytes 312091664 (297.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 76665 bytes 13770947 (13.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76665 bytes 13770947 (13.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 499723 bytes 81729526 (77.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 420736 bytes 312110467 (297.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 76776 bytes 13790405 (13.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76776 bytes 13790405 (13.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 499811 bytes 81744135 (77.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 420783 bytes 312117303 (297.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 76776 bytes 13790405 (13.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76776 bytes 13790405 (13.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 499941 bytes 81768883 (77.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 420900 bytes 312136278 (297.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 76890 bytes 13810079 (13.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76890 bytes 13810079 (13.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 500036 bytes 81784082 (77.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 420948 bytes 312143185 (297.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 76890 bytes 13810079 (13.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 76890 bytes 13810079 (13.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 500170 bytes 81809099 (78.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 421061 bytes 312161692 (297.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 77004 bytes 13829681 (13.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77004 bytes 13829681 (13.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 500261 bytes 81824088 (78.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 421114 bytes 312169105 (297.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 77005 bytes 13829741 (13.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77005 bytes 13829741 (13.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 500453 bytes 81862789 (78.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 421321 bytes 312247961 (297.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 77125 bytes 13849743 (13.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77125 bytes 13849743 (13.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 500550 bytes 81878562 (78.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 421386 bytes 312256439 (297.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 77125 bytes 13849743 (13.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77125 bytes 13849743 (13.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 500687 bytes 81903659 (78.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 421502 bytes 312275321 (297.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 77235 bytes 13869129 (13.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77235 bytes 13869129 (13.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 500778 bytes 81918701 (78.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 421556 bytes 312282702 (297.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 77235 bytes 13869129 (13.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77235 bytes 13869129 (13.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 500903 bytes 81942788 (78.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 421666 bytes 312300981 (297.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 77341 bytes 13888227 (13.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77341 bytes 13888227 (13.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 500991 bytes 81958032 (78.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 421720 bytes 312308334 (297.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 77341 bytes 13888227 (13.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77341 bytes 13888227 (13.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 501115 bytes 81982228 (78.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 421835 bytes 312327119 (297.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 77456 bytes 13907973 (13.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77456 bytes 13907973 (13.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 501204 bytes 81997050 (78.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 421888 bytes 312334386 (297.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 77456 bytes 13907973 (13.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77456 bytes 13907973 (13.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 501342 bytes 82022073 (78.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 421998 bytes 312352685 (297.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 77571 bytes 13927719 (13.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77571 bytes 13927719 (13.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 501432 bytes 82037186 (78.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 422054 bytes 312360361 (297.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 77571 bytes 13927719 (13.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77571 bytes 13927719 (13.2 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 501581 bytes 82066415 (78.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 422196 bytes 312383282 (297.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 77695 bytes 13947937 (13.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77695 bytes 13947937 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 501671 bytes 82081613 (78.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 422249 bytes 312390693 (297.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 77696 bytes 13947997 (13.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77696 bytes 13947997 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 501830 bytes 82111647 (78.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 422389 bytes 312413362 (297.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 77809 bytes 13967599 (13.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77809 bytes 13967599 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 501926 bytes 82127088 (78.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 422440 bytes 312420670 (297.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 77809 bytes 13967599 (13.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77809 bytes 13967599 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 502065 bytes 82152225 (78.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 422560 bytes 312439778 (297.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 77919 bytes 13986985 (13.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77919 bytes 13986985 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 502157 bytes 82167100 (78.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 422608 bytes 312446655 (297.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 77919 bytes 13986985 (13.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 77919 bytes 13986985 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 502294 bytes 82192282 (78.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 422728 bytes 312465834 (297.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 78030 bytes 14006443 (13.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78030 bytes 14006443 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 502392 bytes 82207652 (78.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 422776 bytes 312472740 (297.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 78030 bytes 14006443 (13.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78030 bytes 14006443 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 502533 bytes 82233806 (78.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 422892 bytes 312491424 (298.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 78137 bytes 14025613 (13.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78137 bytes 14025613 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 502621 bytes 82248714 (78.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 422946 bytes 312498881 (298.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 78137 bytes 14025613 (13.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78137 bytes 14025613 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 502752 bytes 82273211 (78.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 423059 bytes 312517542 (298.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 78252 bytes 14045263 (13.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78252 bytes 14045263 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 502876 bytes 82293484 (78.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 423138 bytes 312528920 (298.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 78252 bytes 14045263 (13.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78252 bytes 14045263 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 503012 bytes 82318183 (78.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 423249 bytes 312547322 (298.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 78372 bytes 14065309 (13.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78372 bytes 14065309 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 503111 bytes 82333878 (78.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 423308 bytes 312555222 (298.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 78374 bytes 14065429 (13.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78374 bytes 14065429 (13.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 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 503257 bytes 82362282 (78.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 423441 bytes 312577329 (298.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 78485 bytes 14084887 (13.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78485 bytes 14084887 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 503360 bytes 82378217 (78.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 423499 bytes 312585143 (298.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 78485 bytes 14084887 (13.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78485 bytes 14084887 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 503495 bytes 82402922 (78.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 423608 bytes 312603397 (298.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 78597 bytes 14104417 (13.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78597 bytes 14104417 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 503591 bytes 82418243 (78.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 423663 bytes 312610893 (298.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 78597 bytes 14104417 (13.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78597 bytes 14104417 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 503727 bytes 82443516 (78.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 423777 bytes 312629597 (298.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 78712 bytes 14124163 (13.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78712 bytes 14124163 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 503818 bytes 82458353 (78.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 423829 bytes 312636831 (298.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 78712 bytes 14124163 (13.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78712 bytes 14124163 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 503944 bytes 82482896 (78.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 423932 bytes 312654665 (298.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 78819 bytes 14143333 (13.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78819 bytes 14143333 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 504061 bytes 82502714 (78.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 424007 bytes 312665985 (298.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 78825 bytes 14143661 (13.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78825 bytes 14143661 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 504203 bytes 82528091 (78.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 424126 bytes 312685073 (298.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 78935 bytes 14163047 (13.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78935 bytes 14163047 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 504288 bytes 82542677 (78.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 424173 bytes 312691911 (298.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 78935 bytes 14163047 (13.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 78935 bytes 14163047 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 504418 bytes 82567010 (78.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 424289 bytes 312710649 (298.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 79048 bytes 14182601 (13.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79048 bytes 14182601 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 504506 bytes 82581956 (78.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 424341 bytes 312718005 (298.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 79051 bytes 14182781 (13.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79051 bytes 14182781 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 504645 bytes 82606910 (78.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 424452 bytes 312736361 (298.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 79163 bytes 14202311 (13.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79163 bytes 14202311 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 504757 bytes 82626323 (78.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 424529 bytes 312747660 (298.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 79163 bytes 14202311 (13.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79163 bytes 14202311 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 504891 bytes 82651384 (78.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 424641 bytes 312766117 (298.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 79276 bytes 14221913 (13.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79276 bytes 14221913 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 504987 bytes 82666654 (78.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 424690 bytes 312773099 (298.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 79276 bytes 14221913 (13.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79276 bytes 14221913 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 505131 bytes 82696135 (78.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 424818 bytes 312793315 (298.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 79387 bytes 14241371 (13.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79387 bytes 14241371 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 505240 bytes 82715660 (78.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 424900 bytes 312805048 (298.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 79393 bytes 14241699 (13.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79393 bytes 14241699 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 505378 bytes 82741000 (78.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 425015 bytes 312823844 (298.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 79506 bytes 14261301 (13.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79506 bytes 14261301 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 505474 bytes 82756344 (78.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 425069 bytes 312831225 (298.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 79506 bytes 14261301 (13.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79506 bytes 14261301 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 505596 bytes 82780434 (78.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 425177 bytes 312849596 (298.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 79620 bytes 14280975 (13.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79620 bytes 14280975 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 505685 bytes 82795362 (78.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 425232 bytes 312857023 (298.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 79620 bytes 14280975 (13.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79620 bytes 14280975 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 505819 bytes 82820198 (78.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 425344 bytes 312875622 (298.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 79725 bytes 14300001 (13.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79725 bytes 14300001 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 505912 bytes 82835335 (78.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 425397 bytes 312882929 (298.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 79731 bytes 14300361 (13.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79731 bytes 14300361 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 506041 bytes 82859907 (79.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 425504 bytes 312901014 (298.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 79844 bytes 14319951 (13.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79844 bytes 14319951 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 506154 bytes 82879263 (79.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 425582 bytes 312912232 (298.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 79844 bytes 14319951 (13.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79844 bytes 14319951 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 506284 bytes 82903542 (79.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 425691 bytes 312930452 (298.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 79954 bytes 14339329 (13.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79954 bytes 14339329 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 506415 bytes 82924460 (79.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 425774 bytes 312942396 (298.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 79960 bytes 14339657 (13.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 79960 bytes 14339657 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 506552 bytes 82949356 (79.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 425885 bytes 312960824 (298.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 80066 bytes 14358755 (13.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80066 bytes 14358755 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 506641 bytes 82964774 (79.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 425933 bytes 312967747 (298.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 80066 bytes 14358755 (13.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80066 bytes 14358755 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 506777 bytes 82990076 (79.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 426048 bytes 312986403 (298.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 80178 bytes 14378285 (13.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80178 bytes 14378285 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 506867 bytes 83004888 (79.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 426095 bytes 312993240 (298.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 80178 bytes 14378285 (13.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80178 bytes 14378285 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 507007 bytes 83029977 (79.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 426211 bytes 313012122 (298.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 80289 bytes 14397743 (13.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80289 bytes 14397743 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 507100 bytes 83045040 (79.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 426260 bytes 313019076 (298.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 80289 bytes 14397743 (13.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80289 bytes 14397743 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 507229 bytes 83070327 (79.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 426373 bytes 313037664 (298.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 80403 bytes 14417417 (13.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80403 bytes 14417417 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 507316 bytes 83085056 (79.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 426422 bytes 313044618 (298.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 80409 bytes 14417777 (13.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80409 bytes 14417777 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 507443 bytes 83109333 (79.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 426530 bytes 313062848 (298.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 80520 bytes 14437223 (13.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80520 bytes 14437223 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 507586 bytes 83133073 (79.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 426638 bytes 313078763 (298.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 80526 bytes 14437551 (13.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80526 bytes 14437551 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 507718 bytes 83158535 (79.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 426748 bytes 313097083 (298.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 80638 bytes 14457081 (13.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80638 bytes 14457081 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 507817 bytes 83174044 (79.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 426805 bytes 313104855 (298.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 80638 bytes 14457081 (13.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80638 bytes 14457081 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 507951 bytes 83198743 (79.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 426908 bytes 313122669 (298.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 80744 bytes 14476179 (13.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80744 bytes 14476179 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 508047 bytes 83214086 (79.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 426963 bytes 313130097 (298.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 80744 bytes 14476179 (13.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80744 bytes 14476179 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 508173 bytes 83238626 (79.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 427072 bytes 313148367 (298.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 80859 bytes 14495925 (13.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80859 bytes 14495925 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 508270 bytes 83253995 (79.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 427125 bytes 313155675 (298.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 80859 bytes 14495925 (13.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80859 bytes 14495925 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 508411 bytes 83279456 (79.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 427237 bytes 313174319 (298.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 80973 bytes 14515599 (13.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80973 bytes 14515599 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 508513 bytes 83295351 (79.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 427294 bytes 313182071 (298.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 80973 bytes 14515599 (13.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 80973 bytes 14515599 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 508645 bytes 83319721 (79.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 427398 bytes 313200002 (298.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 81086 bytes 14535201 (13.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81086 bytes 14535201 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 508743 bytes 83335458 (79.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 427454 bytes 313207656 (298.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 81095 bytes 14535733 (13.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81095 bytes 14535733 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 508895 bytes 83364454 (79.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 427593 bytes 313230366 (298.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 81207 bytes 14555191 (13.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81207 bytes 14555191 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 509007 bytes 83383788 (79.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 427668 bytes 313241359 (298.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 81207 bytes 14555191 (13.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81207 bytes 14555191 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 509150 bytes 83409302 (79.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 427793 bytes 313260869 (298.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 81316 bytes 14574505 (13.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81316 bytes 14574505 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 509247 bytes 83424632 (79.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 427839 bytes 313267660 (298.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 81316 bytes 14574505 (13.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81316 bytes 14574505 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 509379 bytes 83449223 (79.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 427959 bytes 313286861 (298.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 81429 bytes 14594107 (13.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81429 bytes 14594107 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 509473 bytes 83464373 (79.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 428006 bytes 313293725 (298.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 81429 bytes 14594107 (13.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81429 bytes 14594107 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 509615 bytes 83490270 (79.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 428120 bytes 313312341 (298.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 81543 bytes 14613781 (13.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81543 bytes 14613781 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 509706 bytes 83505214 (79.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 428168 bytes 313319248 (298.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 81543 bytes 14613781 (13.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81543 bytes 14613781 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 509839 bytes 83529977 (79.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 428275 bytes 313337300 (298.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 81655 bytes 14633311 (13.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81655 bytes 14633311 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 509947 bytes 83546368 (79.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 428334 bytes 313345293 (298.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 81655 bytes 14633311 (13.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81655 bytes 14633311 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 510101 bytes 83575255 (79.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 428467 bytes 313367494 (298.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 81770 bytes 14652933 (13.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81770 bytes 14652933 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 510194 bytes 83590366 (79.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 428521 bytes 313374876 (298.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 81775 bytes 14653233 (13.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81775 bytes 14653233 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 510324 bytes 83614705 (79.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 428626 bytes 313392810 (298.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 81887 bytes 14672739 (13.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81887 bytes 14672739 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 510447 bytes 83634879 (79.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 428709 bytes 313404583 (298.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 81887 bytes 14672739 (13.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 81887 bytes 14672739 (13.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 510580 bytes 83659694 (79.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 428824 bytes 313423393 (298.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 82002 bytes 14692485 (14.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82002 bytes 14692485 (14.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 510675 bytes 83674952 (79.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 428877 bytes 313430700 (298.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 82002 bytes 14692485 (14.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82002 bytes 14692485 (14.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 510812 bytes 83700207 (79.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 428990 bytes 313449366 (298.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 82113 bytes 14711943 (14.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82113 bytes 14711943 (14.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 510909 bytes 83715609 (79.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 429042 bytes 313456600 (298.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 82113 bytes 14711943 (14.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82113 bytes 14711943 (14.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 511039 bytes 83740346 (79.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 429153 bytes 313474958 (298.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 82222 bytes 14731257 (14.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82222 bytes 14731257 (14.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-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 511139 bytes 83756062 (79.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 429209 bytes 313482622 (298.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 82222 bytes 14731257 (14.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82222 bytes 14731257 (14.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 511295 bytes 83785158 (79.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 429345 bytes 313505021 (298.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 82335 bytes 14750755 (14.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82335 bytes 14750755 (14.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 511388 bytes 83800392 (79.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 429396 bytes 313512291 (298.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 82335 bytes 14750755 (14.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82335 bytes 14750755 (14.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/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 511688 bytes 83849514 (79.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 429693 bytes 313550173 (299.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 82444 bytes 14770069 (14.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82444 bytes 14770069 (14.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 511843 bytes 83867770 (79.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 429797 bytes 313560497 (299.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 82448 bytes 14770309 (14.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82448 bytes 14770309 (14.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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 512021 bytes 83893075 (80.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 429936 bytes 313579555 (299.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 82553 bytes 14789255 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82553 bytes 14789255 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 512125 bytes 83904435 (80.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 429989 bytes 313584649 (299.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 82553 bytes 14789255 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82553 bytes 14789255 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 512458 bytes 83952937 (80.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 430328 bytes 313624207 (299.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 82667 bytes 14808929 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82667 bytes 14808929 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 512607 bytes 83970787 (80.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 430434 bytes 313634709 (299.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 82667 bytes 14808929 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82667 bytes 14808929 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 512820 bytes 83999427 (80.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 430616 bytes 313655359 (299.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 82724 bytes 14819034 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82724 bytes 14819034 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 513003 bytes 84021562 (80.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 430759 bytes 313669274 (299.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 82724 bytes 14819034 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82724 bytes 14819034 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 513214 bytes 84050502 (80.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 430942 bytes 313690084 (299.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 82782 bytes 14829167 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82782 bytes 14829167 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 513516 bytes 84089727 (80.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 431239 bytes 313719306 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 513702 bytes 84113028 (80.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 431394 bytes 313734456 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 513890 bytes 84135983 (80.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 431550 bytes 313749740 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 514073 bytes 84158696 (80.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 431705 bytes 313764842 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 514247 bytes 84179570 (80.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 431834 bytes 313777220 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 514444 bytes 84203765 (80.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 431983 bytes 313791854 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 514616 bytes 84224558 (80.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 432115 bytes 313804646 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 514762 bytes 84241878 (80.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 432221 bytes 313814750 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 514963 bytes 84266454 (80.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 432382 bytes 313830449 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 515159 bytes 84290593 (80.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 432534 bytes 313845497 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 515308 bytes 84308133 (80.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 432638 bytes 313855437 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 515480 bytes 84329165 (80.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 432768 bytes 313867937 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 515631 bytes 84346965 (80.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 432876 bytes 313878269 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 515806 bytes 84367977 (80.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 433009 bytes 313891171 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 515989 bytes 84390792 (80.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 433163 bytes 313906239 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 516147 bytes 84409112 (80.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 433271 bytes 313916599 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 516294 bytes 84426423 (80.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 433376 bytes 313926585 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 516448 bytes 84444321 (80.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 433481 bytes 313936643 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 516659 bytes 84470954 (80.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 433656 bytes 313953850 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 516812 bytes 84488893 (80.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 433769 bytes 313964788 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 516984 bytes 84509726 (80.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 433898 bytes 313977330 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 517148 bytes 84529449 (80.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 434029 bytes 313989876 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 517281 bytes 84544318 (80.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 434116 bytes 313998158 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 517458 bytes 84565762 (80.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 434254 bytes 314011374 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 517621 bytes 84585830 (80.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 434385 bytes 314024028 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 517782 bytes 84604676 (80.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 434498 bytes 314034802 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 517958 bytes 84625780 (80.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 434627 bytes 314047300 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 518113 bytes 84643728 (80.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 434740 bytes 314058074 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 518321 bytes 84672116 (80.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 434852 bytes 314068835 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 518523 bytes 84696893 (80.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 435011 bytes 314084321 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 518693 bytes 84717689 (80.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 435143 bytes 314097021 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 518836 bytes 84734706 (80.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 435251 bytes 314107441 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 518974 bytes 84751294 (80.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 435356 bytes 314117427 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 519130 bytes 84769504 (80.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 435466 bytes 314128003 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 519289 bytes 84789251 (80.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 435594 bytes 314140459 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 519454 bytes 84809635 (80.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 435719 bytes 314152477 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 519614 bytes 84828068 (80.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 435829 bytes 314163009 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 519761 bytes 84845538 (80.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 435941 bytes 314173741 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 519932 bytes 84866058 (80.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 436072 bytes 314186532 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 520105 bytes 84886752 (80.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 436203 bytes 314199214 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 520259 bytes 84904836 (80.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 436314 bytes 314209828 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 520416 bytes 84922914 (80.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 436419 bytes 314219886 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 520569 bytes 84940594 (81.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 436528 bytes 314230344 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 520756 bytes 84963779 (81.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 436681 bytes 314245314 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 520900 bytes 84980767 (81.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 436785 bytes 314255254 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 521056 bytes 84998785 (81.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 436890 bytes 314265312 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 521228 bytes 85019232 (81.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 437021 bytes 314277826 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 521375 bytes 85036700 (81.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 437132 bytes 314288656 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 521531 bytes 85054796 (81.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 437240 bytes 314298977 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 521713 bytes 85076217 (81.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 437371 bytes 314311659 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 521861 bytes 85093941 (81.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 437482 bytes 314322273 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 522012 bytes 85111711 (81.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 437589 bytes 314332487 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 522205 bytes 85135262 (81.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 437745 bytes 314347651 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 522358 bytes 85153100 (81.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 437851 bytes 314357755 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 522515 bytes 85171364 (81.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 437963 bytes 314368411 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 522667 bytes 85189194 (81.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 438072 bytes 314378713 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 522841 bytes 85210121 (81.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 438204 bytes 314391413 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 522983 bytes 85227059 (81.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 438312 bytes 314401669 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 523141 bytes 85245507 (81.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 438425 bytes 314412504 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 523315 bytes 85266645 (81.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 438556 bytes 314425186 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 523460 bytes 85283705 (81.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 438663 bytes 314435328 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 523641 bytes 85305299 (81.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 438799 bytes 314448452 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 523812 bytes 85326155 (81.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 438931 bytes 314461156 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 523968 bytes 85344313 (81.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 439039 bytes 314471576 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 524113 bytes 85361321 (81.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 439144 bytes 314481562 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 524261 bytes 85378556 (81.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 439255 bytes 314492184 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 524436 bytes 85399192 (81.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 439379 bytes 314504184 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 524591 bytes 85417302 (81.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 439491 bytes 314514896 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 524751 bytes 85436122 (81.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 439603 bytes 314525689 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 524919 bytes 85456365 (81.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 439733 bytes 314538261 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 525064 bytes 85473608 (81.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 439839 bytes 314548357 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 525218 bytes 85491886 (81.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 439944 bytes 314558415 (299.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 525393 bytes 85513468 (81.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 440098 bytes 314573375 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 525540 bytes 85531262 (81.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 440207 bytes 314583889 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 525698 bytes 85549534 (81.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 440316 bytes 314594347 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 525847 bytes 85567023 (81.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 440421 bytes 314604405 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 526001 bytes 85585055 (81.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 440530 bytes 314614863 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 526175 bytes 85606002 (81.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 440659 bytes 314627437 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 526330 bytes 85624204 (81.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 440771 bytes 314638198 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 526499 bytes 85644362 (81.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 440900 bytes 314650724 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 526650 bytes 85661971 (81.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 441009 bytes 314661182 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 526794 bytes 85678977 (81.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 441114 bytes 314671240 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 526958 bytes 85698665 (81.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 441242 bytes 314683576 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 527130 bytes 85719701 (81.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 441377 bytes 314696714 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 527276 bytes 85736952 (81.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 441481 bytes 314706654 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 527430 bytes 85754944 (81.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 441592 bytes 314717276 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 527583 bytes 85772622 (81.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 441698 bytes 314727372 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 527769 bytes 85795476 (81.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 441847 bytes 314741846 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 527914 bytes 85811891 (81.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 441937 bytes 314750583 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 528085 bytes 85832340 (81.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 442066 bytes 314763109 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 528236 bytes 85849894 (81.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 442175 bytes 314773567 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 528387 bytes 85867320 (81.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 442281 bytes 314783671 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 528554 bytes 85887432 (81.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 442409 bytes 314796007 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 528725 bytes 85907932 (81.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 442541 bytes 314808783 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 528872 bytes 85925596 (81.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 442652 bytes 314819397 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 529030 bytes 85944216 (81.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 442760 bytes 314829721 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 529177 bytes 85961593 (81.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 442871 bytes 314840335 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 529344 bytes 85981980 (81.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 443002 bytes 314853065 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 529506 bytes 86000811 (82.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 443114 bytes 314863858 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 529681 bytes 86021377 (82.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 443246 bytes 314876586 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 529839 bytes 86039400 (82.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 443353 bytes 314886728 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 529997 bytes 86057490 (82.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 443466 bytes 314897506 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 530168 bytes 86078175 (82.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 443597 bytes 314910044 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 530351 bytes 86099465 (82.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 443726 bytes 314922618 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 530494 bytes 86116405 (82.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 443833 bytes 314932760 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 530644 bytes 86134057 (82.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 443943 bytes 314943336 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 530793 bytes 86151357 (82.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 444049 bytes 314953432 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 530960 bytes 86171973 (82.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 444179 bytes 314966052 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 531122 bytes 86190887 (82.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 444291 bytes 314976813 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 531293 bytes 86211444 (82.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 444423 bytes 314989505 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 531451 bytes 86229716 (82.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 444532 bytes 314999963 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 531601 bytes 86247087 (82.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 444638 bytes 315010067 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 531773 bytes 86267841 (82.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 444767 bytes 315022449 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 531943 bytes 86288590 (82.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 444903 bytes 315035697 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 532085 bytes 86305218 (82.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 445009 bytes 315045793 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 532237 bytes 86323048 (82.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 445117 bytes 315056053 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 532393 bytes 86341060 (82.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 445223 bytes 315066149 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 532563 bytes 86361444 (82.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 445355 bytes 315078921 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 532715 bytes 86379457 (82.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 445461 bytes 315089118 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 532893 bytes 86401158 (82.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 445597 bytes 315102242 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 533042 bytes 86418498 (82.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 445703 bytes 315112346 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 533197 bytes 86436328 (82.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 445814 bytes 315123000 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 533369 bytes 86457059 (82.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 445943 bytes 315135414 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 533542 bytes 86478001 (82.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 446077 bytes 315148506 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 533694 bytes 86495429 (82.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 446181 bytes 315158446 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 533850 bytes 86513885 (82.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 446296 bytes 315169434 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 533985 bytes 86529612 (82.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 446390 bytes 315178444 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 534148 bytes 86549500 (82.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 446525 bytes 315191578 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 534294 bytes 86567262 (82.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 446631 bytes 315201775 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 534480 bytes 86589919 (82.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 446784 bytes 315216477 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 534604 bytes 86604516 (82.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 446873 bytes 315225039 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 534763 bytes 86623094 (82.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 446978 bytes 315235097 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 534937 bytes 86643978 (82.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 447107 bytes 315247479 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 535109 bytes 86665092 (82.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 447243 bytes 315260659 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 535257 bytes 86682474 (82.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 447347 bytes 315270599 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 535395 bytes 86699258 (82.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 447453 bytes 315280703 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 535555 bytes 86717650 (82.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 447563 bytes 315291207 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 535727 bytes 86738511 (82.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 447692 bytes 315303781 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 535884 bytes 86757125 (82.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 447804 bytes 315314542 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 536024 bytes 86774074 (82.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 447909 bytes 315324600 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 536195 bytes 86794686 (82.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 448042 bytes 315337526 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 536339 bytes 86811984 (82.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 448148 bytes 315347630 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 536507 bytes 86832006 (82.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 448278 bytes 315360122 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 536670 bytes 86852476 (82.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 448408 bytes 315372742 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 536826 bytes 86870388 (82.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 448520 bytes 315383402 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 536979 bytes 86888278 (82.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 448628 bytes 315393662 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 537130 bytes 86905890 (82.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 448739 bytes 315404276 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 537301 bytes 86926743 (82.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 448871 bytes 315417052 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 537451 bytes 86944493 (82.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 448977 bytes 315427249 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 537600 bytes 86962117 (82.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 449083 bytes 315437385 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 537766 bytes 86982150 (82.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 449211 bytes 315449793 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 537914 bytes 86999631 (82.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 449319 bytes 315460053 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 538095 bytes 87020977 (82.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 449450 bytes 315472591 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 538268 bytes 87042042 (83.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 449585 bytes 315485729 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 538414 bytes 87059302 (83.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 449694 bytes 315496187 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 538554 bytes 87076196 (83.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 449799 bytes 315506245 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 538706 bytes 87093916 (83.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 449903 bytes 315516185 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 538876 bytes 87114618 (83.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 450038 bytes 315529323 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 539032 bytes 87132954 (83.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 450144 bytes 315539488 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 539181 bytes 87150552 (83.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 450249 bytes 315549546 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 539344 bytes 87170490 (83.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 450377 bytes 315561954 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 539502 bytes 87188628 (83.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 450483 bytes 315572058 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 539673 bytes 87209022 (83.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 450619 bytes 315585110 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 539845 bytes 87229994 (83.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 450749 bytes 315597794 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 540007 bytes 87248506 (83.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 450858 bytes 315608252 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 540153 bytes 87265632 (83.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 450963 bytes 315618310 (300.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 540305 bytes 87283518 (83.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 451071 bytes 315628682 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 540482 bytes 87305198 (83.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 451204 bytes 315641540 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 540635 bytes 87323328 (83.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 451308 bytes 315651581 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 540782 bytes 87340454 (83.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 451418 bytes 315662157 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 540952 bytes 87360802 (83.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 451546 bytes 315674565 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 541103 bytes 87378712 (83.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 451656 bytes 315685141 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 541280 bytes 87399818 (83.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 451788 bytes 315697721 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 541440 bytes 87419728 (83.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 451917 bytes 315710295 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 541595 bytes 87437820 (83.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 452027 bytes 315720799 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 541744 bytes 87455178 (83.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 452134 bytes 315731013 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 541904 bytes 87473415 (83.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 452246 bytes 315741673 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 542066 bytes 87492935 (83.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 452374 bytes 315753993 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 542227 bytes 87512105 (83.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 452489 bytes 315765156 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 542376 bytes 87530000 (83.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 452597 bytes 315775392 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 542543 bytes 87550228 (83.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 452726 bytes 315787846 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 542690 bytes 87567898 (83.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 452836 bytes 315798422 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 542848 bytes 87587083 (83.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 452961 bytes 315810368 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 543017 bytes 87607523 (83.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 453091 bytes 315822968 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 543171 bytes 87625630 (83.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 453199 bytes 315833364 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 543323 bytes 87643652 (83.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 453313 bytes 315844188 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 543475 bytes 87661424 (83.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 453420 bytes 315854330 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 543626 bytes 87678902 (83.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 453527 bytes 315864544 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 543802 bytes 87700168 (83.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 453663 bytes 315877853 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 543948 bytes 87717488 (83.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 453769 bytes 315887957 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 544115 bytes 87737805 (83.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 453897 bytes 315900365 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 544265 bytes 87755843 (83.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 454002 bytes 315910423 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 544408 bytes 87772731 (83.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 454106 bytes 315920363 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 544579 bytes 87793092 (83.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 454240 bytes 315933335 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 544749 bytes 87813950 (83.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 454373 bytes 315946225 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 544900 bytes 87831720 (83.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 454481 bytes 315956497 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 545046 bytes 87848971 (83.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 454586 bytes 315966479 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 545189 bytes 87865715 (83.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 454692 bytes 315976647 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 545363 bytes 87887028 (83.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 454823 bytes 315989438 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 545524 bytes 87905538 (83.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 454933 bytes 316000014 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 545700 bytes 87926579 (83.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 455062 bytes 316012500 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 545852 bytes 87944575 (83.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 455173 bytes 316023154 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 546006 bytes 87962441 (83.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 455278 bytes 316033172 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 546183 bytes 87983553 (83.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 455413 bytes 316046222 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 546354 bytes 88004220 (83.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 455543 bytes 316058798 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 546506 bytes 88021998 (83.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 455649 bytes 316068898 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 546667 bytes 88040450 (83.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 455759 bytes 316079398 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 546820 bytes 88058288 (83.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 455867 bytes 316089590 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 547002 bytes 88080284 (83.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 456003 bytes 316102863 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 547151 bytes 88098048 (84.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 456113 bytes 316113399 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 547321 bytes 88118508 (84.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 456243 bytes 316125971 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 547470 bytes 88135854 (84.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 456349 bytes 316136075 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 547621 bytes 88153566 (84.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 456455 bytes 316146171 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 547805 bytes 88175705 (84.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 456596 bytes 316159757 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 547972 bytes 88195362 (84.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 456719 bytes 316171755 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 548123 bytes 88213272 (84.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 456829 bytes 316182331 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 548271 bytes 88230892 (84.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 456935 bytes 316192427 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 548419 bytes 88248230 (84.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 457043 bytes 316202687 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 548604 bytes 88270202 (84.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 457179 bytes 316215996 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 548754 bytes 88287912 (84.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 457287 bytes 316226256 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 548931 bytes 88309084 (84.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 457417 bytes 316238820 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 549078 bytes 88326728 (84.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 457526 bytes 316249310 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 549230 bytes 88344474 (84.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 457631 bytes 316259336 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 549404 bytes 88365468 (84.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 457763 bytes 316271992 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 549578 bytes 88386200 (84.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 457893 bytes 316284540 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 549734 bytes 88404462 (84.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 458007 bytes 316295360 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 549886 bytes 88422234 (84.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 458114 bytes 316305498 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 550033 bytes 88439472 (84.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 458223 bytes 316315800 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 550208 bytes 88461073 (84.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 458356 bytes 316328711 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 550366 bytes 88479429 (84.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 458467 bytes 316339365 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 550538 bytes 88500009 (84.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 458598 bytes 316351971 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 550686 bytes 88517487 (84.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 458708 bytes 316362547 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 550860 bytes 88537960 (84.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 458836 bytes 316374699 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 551011 bytes 88556069 (84.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 458946 bytes 316385295 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 551185 bytes 88577115 (84.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 459076 bytes 316397907 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 551336 bytes 88595025 (84.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 459188 bytes 316408571 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 551495 bytes 88613165 (84.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 459293 bytes 316418553 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 551640 bytes 88630371 (84.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 459402 bytes 316428915 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 551814 bytes 88651156 (84.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 459533 bytes 316441670 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 551954 bytes 88667948 (84.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 459640 bytes 316451952 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 552130 bytes 88689148 (84.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 459771 bytes 316464558 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 552274 bytes 88706154 (84.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 459876 bytes 316474616 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 552425 bytes 88723662 (84.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 459982 bytes 316484772 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 552592 bytes 88743934 (84.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 460115 bytes 316497570 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 552764 bytes 88764516 (84.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 460243 bytes 316510026 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 552917 bytes 88781976 (84.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 460352 bytes 316520516 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 553067 bytes 88799602 (84.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 460458 bytes 316530588 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 553220 bytes 88817440 (84.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 460564 bytes 316540692 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 553410 bytes 88839926 (84.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 460698 bytes 316553793 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 553562 bytes 88857730 (84.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 460804 bytes 316563945 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 553741 bytes 88879478 (84.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 460943 bytes 316577255 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 553884 bytes 88896209 (84.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 461040 bytes 316586613 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 554044 bytes 88914781 (84.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 461152 bytes 316597273 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 554216 bytes 88935353 (84.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 461283 bytes 316609883 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 554388 bytes 88956217 (84.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 461412 bytes 316622385 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 554537 bytes 88974007 (84.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 461522 bytes 316632945 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 554690 bytes 88991547 (84.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 461629 bytes 316643103 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 554843 bytes 89009385 (84.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 461735 bytes 316653207 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 555016 bytes 89030576 (84.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 461865 bytes 316665884 (301.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 555166 bytes 89048148 (84.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 461974 bytes 316676374 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 555323 bytes 89066194 (84.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 462080 bytes 316686442 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 555489 bytes 89086138 (84.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 462216 bytes 316699574 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 555639 bytes 89103495 (84.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 462322 bytes 316709602 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 555811 bytes 89124359 (84.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 462454 bytes 316722254 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 555983 bytes 89145795 (85.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 462588 bytes 316735270 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 556134 bytes 89163270 (85.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 462694 bytes 316745374 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 556260 bytes 89177620 (85.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 462778 bytes 316753302 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 556412 bytes 89195450 (85.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 462886 bytes 316763562 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 556598 bytes 89217634 (85.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 463020 bytes 316776551 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 556748 bytes 89235192 (85.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 463130 bytes 316787127 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 556895 bytes 89252664 (85.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 463236 bytes 316797223 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 557081 bytes 89274558 (85.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 463370 bytes 316810227 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 557223 bytes 89291704 (85.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 463475 bytes 316820253 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 557400 bytes 89312616 (85.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 463607 bytes 316832905 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 557564 bytes 89332708 (85.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 463735 bytes 316845361 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 557712 bytes 89350246 (85.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 463841 bytes 316855465 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 557867 bytes 89368478 (85.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 463952 bytes 316866079 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 558017 bytes 89385896 (85.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 464061 bytes 316876381 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 558196 bytes 89407608 (85.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 464195 bytes 316889302 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 558346 bytes 89424966 (85.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 464307 bytes 316900034 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 558493 bytes 89442146 (85.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 464414 bytes 316910172 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 558674 bytes 89463516 (85.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 464551 bytes 316923418 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 558828 bytes 89481684 (85.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 464661 bytes 316933878 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 558999 bytes 89501903 (85.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 464786 bytes 316945904 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 559172 bytes 89523118 (85.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 464926 bytes 316959452 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 559327 bytes 89541076 (85.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 465030 bytes 316969468 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 559478 bytes 89558788 (85.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 465137 bytes 316979606 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 559641 bytes 89577218 (85.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 465250 bytes 316990380 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 559818 bytes 89598782 (85.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 465378 bytes 317002757 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 559972 bytes 89616936 (85.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 465490 bytes 317013469 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 560132 bytes 89635088 (85.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 465602 bytes 317024125 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 560299 bytes 89655669 (85.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 465733 bytes 317036807 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 560450 bytes 89673381 (85.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 465839 bytes 317046903 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 560598 bytes 89690719 (85.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 465946 bytes 317057117 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 560785 bytes 89713705 (85.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 466101 bytes 317072187 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 560935 bytes 89731735 (85.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 466213 bytes 317082903 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 561096 bytes 89749941 (85.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 466324 bytes 317093517 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 561250 bytes 89767891 (85.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 466432 bytes 317103777 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 561396 bytes 89785378 (85.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 466539 bytes 317114052 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 561569 bytes 89806259 (85.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 466675 bytes 317127300 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 561728 bytes 89824975 (85.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 466787 bytes 317138024 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 561893 bytes 89844789 (85.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 466919 bytes 317150752 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 562045 bytes 89862701 (85.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 467029 bytes 317161256 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 562195 bytes 89880067 (85.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 467136 bytes 317171406 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 562361 bytes 89900132 (85.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 467264 bytes 317183742 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 562525 bytes 89920291 (85.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 467399 bytes 317196880 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 562674 bytes 89937831 (85.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 467505 bytes 317206908 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 562820 bytes 89954705 (85.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 467610 bytes 317216966 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 562973 bytes 89972761 (85.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 467722 bytes 317227695 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 563142 bytes 89993154 (85.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 467851 bytes 317240269 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 563298 bytes 90011306 (85.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 467960 bytes 317250727 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 563467 bytes 90031712 (85.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 468090 bytes 317263295 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 563619 bytes 90049943 (85.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 468200 bytes 317273799 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 563769 bytes 90067601 (85.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 468306 bytes 317283899 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 563958 bytes 90090415 (85.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 468460 bytes 317298695 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 564111 bytes 90108687 (85.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 468570 bytes 317309411 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 564263 bytes 90126115 (85.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 468675 bytes 317319393 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 564413 bytes 90143773 (85.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 468781 bytes 317329493 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 564568 bytes 90162049 (85.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 468887 bytes 317339654 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 564745 bytes 90183171 (86.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 469023 bytes 317352834 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 564902 bytes 90201082 (86.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 469129 bytes 317362862 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 565073 bytes 90221408 (86.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 469261 bytes 317375586 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 565221 bytes 90238788 (86.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 469371 bytes 317386086 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 565371 bytes 90256446 (86.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 469477 bytes 317396186 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 565541 bytes 90277460 (86.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 469607 bytes 317408610 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 565713 bytes 90298486 (86.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 469742 bytes 317421704 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 565866 bytes 90316292 (86.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 469848 bytes 317431772 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 566023 bytes 90334370 (86.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 469954 bytes 317441872 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 566170 bytes 90351679 (86.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 470062 bytes 317452189 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 566345 bytes 90372973 (86.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 470197 bytes 317465323 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 566483 bytes 90389613 (86.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 470304 bytes 317475461 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 566664 bytes 90411275 (86.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 470442 bytes 317488749 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 566806 bytes 90428152 (86.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 470548 bytes 317498777 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 566957 bytes 90446062 (86.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 470658 bytes 317509353 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 567135 bytes 90467239 (86.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 470790 bytes 317521997 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 567297 bytes 90487017 (86.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 470919 bytes 317534571 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 567449 bytes 90505361 (86.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 471030 bytes 317545185 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 567593 bytes 90522367 (86.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 471135 bytes 317555243 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 567747 bytes 90540483 (86.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 471245 bytes 317565880 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 567913 bytes 90560714 (86.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 471375 bytes 317578500 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 568060 bytes 90577842 (86.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 471480 bytes 317588486 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 568232 bytes 90598964 (86.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 471618 bytes 317601774 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 568368 bytes 90615180 (86.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 471723 bytes 317611764 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 568521 bytes 90633210 (86.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 471834 bytes 317622386 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 568689 bytes 90653624 (86.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 471972 bytes 317635530 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 568859 bytes 90674387 (86.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 472102 bytes 317648150 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 569017 bytes 90692467 (86.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 472206 bytes 317658090 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 569167 bytes 90710064 (86.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 472312 bytes 317668194 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 569322 bytes 90728620 (86.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 472423 bytes 317678877 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 569490 bytes 90748701 (86.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 472554 bytes 317691539 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 569634 bytes 90765941 (86.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 472659 bytes 317701525 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 569798 bytes 90785647 (86.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 472784 bytes 317713603 (302.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 569947 bytes 90803422 (86.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 472898 bytes 317724555 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 570106 bytes 90821380 (86.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 473005 bytes 317734769 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 570279 bytes 90842386 (86.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 473138 bytes 317747519 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 570452 bytes 90863317 (86.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 473275 bytes 317760685 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 570611 bytes 90881355 (86.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 473384 bytes 317770915 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 570760 bytes 90899005 (86.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 473493 bytes 317781217 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 570908 bytes 90916787 (86.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 473605 bytes 317791882 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 571093 bytes 90938567 (86.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 473739 bytes 317804870 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 571248 bytes 90956847 (86.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 473844 bytes 317814852 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 571393 bytes 90973913 (86.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 473950 bytes 317824952 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 571550 bytes 90993542 (86.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 474081 bytes 317837558 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 571704 bytes 91011440 (86.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 474189 bytes 317847750 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 571879 bytes 91032618 (86.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 474326 bytes 317860848 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 572055 bytes 91053780 (86.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 474457 bytes 317873510 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 572201 bytes 91071040 (86.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 474567 bytes 317884010 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 572350 bytes 91088577 (86.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 474673 bytes 317894110 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 572505 bytes 91107003 (86.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 474784 bytes 317904712 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 572678 bytes 91127585 (86.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 474916 bytes 317917629 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 572828 bytes 91145085 (86.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 475025 bytes 317928087 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 572983 bytes 91163043 (86.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 475131 bytes 317938191 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 573153 bytes 91183855 (86.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 475264 bytes 317951117 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 573304 bytes 91201573 (86.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 475370 bytes 317961221 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 573471 bytes 91221953 (86.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 475505 bytes 317974187 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 573643 bytes 91242609 (87.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 475635 bytes 317986847 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 573786 bytes 91259497 (87.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 475739 bytes 317996787 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 573929 bytes 91276191 (87.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 475846 bytes 318006937 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 574078 bytes 91294015 (87.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 475950 bytes 318016877 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 574252 bytes 91315253 (87.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 476086 bytes 318030030 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 574406 bytes 91333285 (87.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 476195 bytes 318040488 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 574558 bytes 91351115 (87.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 476304 bytes 318050790 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 574734 bytes 91372167 (87.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 476435 bytes 318063396 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 574889 bytes 91389825 (87.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 476548 bytes 318074170 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 575064 bytes 91410933 (87.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 476680 bytes 318086894 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 575238 bytes 91432079 (87.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 476813 bytes 318099796 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 575362 bytes 91446299 (87.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 476891 bytes 318107260 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 575510 bytes 91463968 (87.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 477001 bytes 318117836 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 575662 bytes 91481680 (87.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 477106 bytes 318127822 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 575842 bytes 91503226 (87.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 477239 bytes 318140777 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 575996 bytes 91520574 (87.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 477346 bytes 318150915 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 576146 bytes 91538284 (87.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 477454 bytes 318161171 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 576326 bytes 91559828 (87.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 477591 bytes 318174341 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 576474 bytes 91577418 (87.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 477701 bytes 318184689 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 576641 bytes 91597676 (87.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 477831 bytes 318197149 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 576812 bytes 91618591 (87.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 477968 bytes 318210403 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 576958 bytes 91636279 (87.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 478071 bytes 318220233 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 577128 bytes 91656177 (87.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 478201 bytes 318232709 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 577295 bytes 91676248 (87.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 478286 bytes 318240795 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 577463 bytes 91696514 (87.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 478418 bytes 318253656 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 577609 bytes 91713965 (87.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 478527 bytes 318264098 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 577764 bytes 91731923 (87.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 478633 bytes 318274198 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 577930 bytes 91752049 (87.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 478767 bytes 318287150 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 578085 bytes 91769998 (87.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 478875 bytes 318297422 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 578235 bytes 91787538 (87.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 478985 bytes 318307922 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 578424 bytes 91810934 (87.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 479135 bytes 318322478 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 578572 bytes 91828497 (87.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 479248 bytes 318333348 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 578713 bytes 91845349 (87.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 479356 bytes 318343580 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 578871 bytes 91863984 (87.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 479461 bytes 318353562 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 579022 bytes 91881794 (87.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 479569 bytes 318363887 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 579196 bytes 91902281 (87.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 479700 bytes 318376541 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 579350 bytes 91920171 (87.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 479812 bytes 318387273 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 579519 bytes 91940802 (87.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 479942 bytes 318399837 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 579665 bytes 91958272 (87.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 480049 bytes 318410051 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 579830 bytes 91976824 (87.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 480155 bytes 318420147 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 579997 bytes 91997094 (87.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 480289 bytes 318433119 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 580166 bytes 92017320 (87.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 480418 bytes 318445621 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 580312 bytes 92034640 (87.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 480523 bytes 318455679 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 580467 bytes 92052378 (87.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 480628 bytes 318465661 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 580609 bytes 92069356 (87.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 480734 bytes 318475898 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 580784 bytes 92090510 (87.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 480867 bytes 318488872 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 580967 bytes 92110148 (87.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 480972 bytes 318498930 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 581144 bytes 92131268 (87.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 481101 bytes 318511380 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 581292 bytes 92148998 (87.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 481211 bytes 318521956 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 581458 bytes 92168950 (87.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 481336 bytes 318533842 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 581603 bytes 92186383 (87.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 481445 bytes 318544396 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 581775 bytes 92207085 (87.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 481575 bytes 318556940 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 581925 bytes 92224643 (87.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 481686 bytes 318567558 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 582078 bytes 92242707 (87.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 481792 bytes 318577586 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 582257 bytes 92263781 (87.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 481924 bytes 318590283 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 582410 bytes 92282052 (88.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 482033 bytes 318600881 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 582557 bytes 92299140 (88.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 482139 bytes 318610981 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 582735 bytes 92320764 (88.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 482275 bytes 318624065 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 582887 bytes 92338276 (88.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 482383 bytes 318634297 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 583036 bytes 92355524 (88.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 482490 bytes 318644371 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 583205 bytes 92375864 (88.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 482620 bytes 318656867 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 583381 bytes 92396982 (88.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 482752 bytes 318669599 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 583525 bytes 92413988 (88.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 482858 bytes 318679699 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 583672 bytes 92431400 (88.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 482963 bytes 318689681 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 583820 bytes 92448486 (88.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 483070 bytes 318699960 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 583994 bytes 92469608 (88.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 483205 bytes 318713022 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 584140 bytes 92486783 (88.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 483311 bytes 318723122 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 584313 bytes 92507715 (88.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 483443 bytes 318735774 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 584456 bytes 92524901 (88.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 483547 bytes 318745722 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 584619 bytes 92543853 (88.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 483656 bytes 318756180 (303.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 584782 bytes 92563873 (88.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 483785 bytes 318768634 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 584931 bytes 92581463 (88.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 483894 bytes 318779244 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 585076 bytes 92598555 (88.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 484001 bytes 318789434 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 585234 bytes 92616919 (88.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 484105 bytes 318799374 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 585387 bytes 92634557 (88.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 484211 bytes 318809611 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 585564 bytes 92655681 (88.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 484344 bytes 318822585 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 585714 bytes 92673339 (88.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 484450 bytes 318832689 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 585889 bytes 92694099 (88.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 484582 bytes 318845341 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 586028 bytes 92710732 (88.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 484684 bytes 318855201 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 586179 bytes 92728392 (88.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 484789 bytes 318865187 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 586350 bytes 92749104 (88.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 484925 bytes 318878251 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 586521 bytes 92770009 (88.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 485055 bytes 318890863 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 586664 bytes 92787199 (88.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 485168 bytes 318901641 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 586823 bytes 92805675 (88.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 485276 bytes 318911825 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 586968 bytes 92822677 (88.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 485390 bytes 318922778 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 587133 bytes 92842881 (88.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 485521 bytes 318935432 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 587285 bytes 92860367 (88.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 485627 bytes 318945532 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 587451 bytes 92880327 (88.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 485757 bytes 318958052 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 587596 bytes 92897728 (88.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 485868 bytes 318968646 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 587748 bytes 92915448 (88.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 485973 bytes 318978628 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 587920 bytes 92936260 (88.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 486103 bytes 318991124 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 588093 bytes 92956832 (88.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 486238 bytes 319004186 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 588243 bytes 92974490 (88.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 486344 bytes 319014290 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 588399 bytes 92992822 (88.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 486448 bytes 319024230 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 588555 bytes 93010832 (88.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 486560 bytes 319035031 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 588722 bytes 93031156 (88.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 486692 bytes 319047731 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 588871 bytes 93048512 (88.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 486799 bytes 319057945 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 589013 bytes 93065480 (88.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 486905 bytes 319068101 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 589186 bytes 93085725 (88.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 487040 bytes 319081127 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 589333 bytes 93102853 (88.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 487145 bytes 319091109 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 589508 bytes 93123836 (88.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 487277 bytes 319103761 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 589683 bytes 93144880 (88.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 487407 bytes 319116305 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 589822 bytes 93161635 (88.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 487514 bytes 319126451 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 589977 bytes 93179719 (88.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 487623 bytes 319136909 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 590124 bytes 93196997 (88.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 487730 bytes 319147192 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 590299 bytes 93217841 (88.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 487862 bytes 319159892 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 590456 bytes 93236491 (88.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 487972 bytes 319170468 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 590613 bytes 93254563 (88.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 488078 bytes 319180564 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 590788 bytes 93275327 (88.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 488209 bytes 319193246 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 590958 bytes 93295279 (88.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 488335 bytes 319205242 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 591117 bytes 93314102 (88.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 488451 bytes 319216470 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 591292 bytes 93334906 (89.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 488582 bytes 319229128 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 591435 bytes 93351831 (89.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 488688 bytes 319239232 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 591596 bytes 93370567 (89.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 488797 bytes 319249690 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 591753 bytes 93388737 (89.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 488903 bytes 319259927 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 591924 bytes 93409467 (89.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 489038 bytes 319273013 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 592066 bytes 93426379 (89.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 489144 bytes 319283157 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 592215 bytes 93443627 (89.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 489248 bytes 319293097 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 592383 bytes 93464405 (89.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 489379 bytes 319305779 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 592532 bytes 93481693 (89.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 489483 bytes 319315719 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 592710 bytes 93503109 (89.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 489621 bytes 319328935 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 592882 bytes 93524025 (89.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 489751 bytes 319341547 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 593022 bytes 93540988 (89.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 489854 bytes 319351493 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 593172 bytes 93558580 (89.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 489958 bytes 319361433 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 593320 bytes 93576110 (89.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 490069 bytes 319372188 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 593497 bytes 93597326 (89.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 490199 bytes 319384800 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 593640 bytes 93614199 (89.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 490302 bytes 319394702 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 593798 bytes 93632523 (89.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 490415 bytes 319405408 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 593961 bytes 93652435 (89.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 490544 bytes 319417934 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 594115 bytes 93670327 (89.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 490650 bytes 319428030 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 594287 bytes 93691621 (89.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 490784 bytes 319440838 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 594435 bytes 93709277 (89.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 490889 bytes 319451016 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 594585 bytes 93726832 (89.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 490997 bytes 319461440 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 594735 bytes 93744464 (89.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 491101 bytes 319471380 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 594880 bytes 93761914 (89.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 491207 bytes 319481617 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 595050 bytes 93781958 (89.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 491333 bytes 319493705 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 595201 bytes 93800135 (89.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 491448 bytes 319504779 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 595356 bytes 93817795 (89.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 491556 bytes 319514963 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 595524 bytes 93837978 (89.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 491688 bytes 319527655 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 595677 bytes 93855915 (89.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 491799 bytes 319538233 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 595832 bytes 93875437 (89.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 491933 bytes 319551057 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 595999 bytes 93895530 (89.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 492060 bytes 319563399 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 596151 bytes 93913801 (89.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 492171 bytes 319574045 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 596298 bytes 93931213 (89.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 492276 bytes 319584031 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 596473 bytes 93951986 (89.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 492407 bytes 319596686 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 596609 bytes 93967485 (89.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 492496 bytes 319605244 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 596771 bytes 93987350 (89.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 492625 bytes 319617818 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 596918 bytes 94004530 (89.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 492731 bytes 319627914 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 597085 bytes 94025020 (89.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 492863 bytes 319640642 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 597231 bytes 94042140 (89.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 492970 bytes 319650784 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 597379 bytes 94059630 (89.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 493083 bytes 319661562 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 597547 bytes 94079940 (89.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 493219 bytes 319674618 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 597713 bytes 94100407 (89.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 493348 bytes 319687192 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 597860 bytes 94118013 (89.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 493453 bytes 319697178 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 598013 bytes 94136169 (89.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 493559 bytes 319707415 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 598166 bytes 94154141 (89.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 493668 bytes 319717873 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 598329 bytes 94173991 (89.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 493797 bytes 319730447 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 598489 bytes 94193483 (89.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 493926 bytes 319742805 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 598634 bytes 94211340 (89.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 494037 bytes 319753587 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 598779 bytes 94228641 (89.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 494149 bytes 319764247 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 598921 bytes 94245619 (89.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 494257 bytes 319774503 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 599092 bytes 94265912 (89.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 494394 bytes 319787601 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 599263 bytes 94286480 (89.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 494526 bytes 319800373 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 599421 bytes 94304796 (89.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 494639 bytes 319811075 (304.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 599568 bytes 94322833 (89.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 494755 bytes 319822186 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 599717 bytes 94339999 (89.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 494857 bytes 319831804 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 599883 bytes 94360343 (89.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 494990 bytes 319844622 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 600035 bytes 94378015 (90.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 495102 bytes 319855278 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 600204 bytes 94398221 (90.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 495234 bytes 319868002 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 600350 bytes 94415341 (90.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 495342 bytes 319878186 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 600510 bytes 94433651 (90.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 495450 bytes 319888442 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 600683 bytes 94454709 (90.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 495586 bytes 319901494 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 600858 bytes 94475763 (90.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 495724 bytes 319914830 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 601024 bytes 94494167 (90.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 495829 bytes 319924812 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 601180 bytes 94511782 (90.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 495936 bytes 319935091 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 601337 bytes 94529802 (90.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 496041 bytes 319945073 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 601508 bytes 94550564 (90.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 496177 bytes 319958257 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 601655 bytes 94567984 (90.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 496282 bytes 319968243 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 601840 bytes 94589974 (90.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 496418 bytes 319981443 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 602003 bytes 94610044 (90.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 496522 bytes 319991383 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 602163 bytes 94629194 (90.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 496633 bytes 320002005 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 602331 bytes 94649514 (90.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 496766 bytes 320014859 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 602500 bytes 94669953 (90.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 496895 bytes 320027433 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 602652 bytes 94687957 (90.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 496999 bytes 320037373 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 602807 bytes 94706007 (90.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 497105 bytes 320047610 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 602956 bytes 94723486 (90.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 497210 bytes 320057596 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 603126 bytes 94744188 (90.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 497344 bytes 320070688 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 603271 bytes 94761405 (90.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 497449 bytes 320080670 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 603447 bytes 94782454 (90.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 497587 bytes 320093954 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 603589 bytes 94799282 (90.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 497692 bytes 320103940 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 603749 bytes 94818164 (90.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 497805 bytes 320114714 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 603917 bytes 94838254 (90.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 497935 bytes 320127206 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 604087 bytes 94858393 (90.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 498065 bytes 320139826 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 604244 bytes 94876889 (90.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 498174 bytes 320150284 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 604390 bytes 94894107 (90.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 498281 bytes 320160567 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 604534 bytes 94910803 (90.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 498385 bytes 320170507 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 604708 bytes 94931311 (90.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 498520 bytes 320183677 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 604848 bytes 94948019 (90.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 498624 bytes 320193617 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 605016 bytes 94968015 (90.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 498751 bytes 320205851 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 605167 bytes 94985995 (90.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 498864 bytes 320216757 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 605313 bytes 95003121 (90.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 498969 bytes 320226815 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 605481 bytes 95023392 (90.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 499097 bytes 320239151 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 605659 bytes 95044751 (90.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 499232 bytes 320252285 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 605808 bytes 95062283 (90.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 499337 bytes 320262267 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 605959 bytes 95079993 (90.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 499448 bytes 320272918 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 606112 bytes 95097877 (90.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 499558 bytes 320283358 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 606288 bytes 95119091 (90.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 499692 bytes 320296222 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 606437 bytes 95136683 (90.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 499799 bytes 320306360 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 606622 bytes 95158077 (90.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 499932 bytes 320319034 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 606773 bytes 95176230 (90.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 500047 bytes 320330104 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 606927 bytes 95194035 (90.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 500156 bytes 320340514 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 607099 bytes 95214841 (90.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 500287 bytes 320353048 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 607289 bytes 95238005 (90.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 500438 bytes 320367678 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 607432 bytes 95254260 (90.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 500531 bytes 320376484 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 607593 bytes 95272950 (90.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 500642 bytes 320387239 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 607739 bytes 95289920 (90.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 500746 bytes 320397179 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 607910 bytes 95310680 (90.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 500879 bytes 320409997 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 608060 bytes 95328229 (90.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 500988 bytes 320420455 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 608204 bytes 95345235 (90.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 501095 bytes 320430601 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 608382 bytes 95366496 (90.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 501232 bytes 320443771 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 608531 bytes 95384094 (90.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 501338 bytes 320453871 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 608711 bytes 95405319 (90.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 501469 bytes 320466405 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 608890 bytes 95426554 (91.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 501602 bytes 320479223 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 609039 bytes 95443932 (91.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 501708 bytes 320489251 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 609193 bytes 95461922 (91.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 501815 bytes 320499530 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 609345 bytes 95479490 (91.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 501923 bytes 320509858 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 609523 bytes 95500964 (91.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 502057 bytes 320522802 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 609669 bytes 95518032 (91.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 502162 bytes 320532788 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 609818 bytes 95535530 (91.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 502272 bytes 320543364 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 609996 bytes 95556459 (91.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 502402 bytes 320555928 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 610145 bytes 95573705 (91.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 502512 bytes 320566504 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 610317 bytes 95594219 (91.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 502643 bytes 320579038 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 610491 bytes 95615071 (91.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 502775 bytes 320591878 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 610648 bytes 95633266 (91.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 502879 bytes 320601818 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 610808 bytes 95651860 (91.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 502992 bytes 320612729 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 610961 bytes 95669400 (91.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 503098 bytes 320622825 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 611133 bytes 95689879 (91.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 503230 bytes 320635597 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 611287 bytes 95707528 (91.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 503336 bytes 320645693 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 611442 bytes 95725918 (91.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 503444 bytes 320655953 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 611617 bytes 95746867 (91.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 503577 bytes 320668879 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 611773 bytes 95766034 (91.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 503702 bytes 320680837 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 611924 bytes 95783687 (91.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 503807 bytes 320690883 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 612104 bytes 95805516 (91.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 503949 bytes 320704655 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 612257 bytes 95823421 (91.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 504052 bytes 320714553 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 612410 bytes 95841097 (91.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 504164 bytes 320725354 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 612557 bytes 95858456 (91.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 504268 bytes 320735294 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 612725 bytes 95878438 (91.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 504393 bytes 320747412 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 612886 bytes 95897198 (91.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 504507 bytes 320758372 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 613040 bytes 95915288 (91.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 504617 bytes 320768948 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 613210 bytes 95935706 (91.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 504745 bytes 320781356 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 613357 bytes 95953020 (91.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 504850 bytes 320791414 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 613487 bytes 95967557 (91.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 504935 bytes 320799548 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 613666 bytes 95989870 (91.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 505084 bytes 320814062 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 613821 bytes 96008079 (91.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 505193 bytes 320824500 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 613968 bytes 96025357 (91.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 505301 bytes 320834825 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 614125 bytes 96043277 (91.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 505411 bytes 320845325 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 614265 bytes 96060043 (91.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 505517 bytes 320855425 (305.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 614433 bytes 96080138 (91.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 505647 bytes 320867969 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 614583 bytes 96097988 (91.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 505758 bytes 320878591 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 614757 bytes 96118864 (91.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 505889 bytes 320891197 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 614892 bytes 96135379 (91.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 505994 bytes 320901255 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 615044 bytes 96152807 (91.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 506098 bytes 320911195 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 615213 bytes 96173480 (91.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 506228 bytes 320923695 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 615391 bytes 96195154 (91.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 506361 bytes 320936669 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 615543 bytes 96212772 (91.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 506467 bytes 320946906 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 615693 bytes 96230363 (91.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 506574 bytes 320957048 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 615845 bytes 96248156 (91.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 506682 bytes 320967340 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 616020 bytes 96269069 (91.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 506816 bytes 320980392 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 616175 bytes 96287053 (91.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 506923 bytes 320990574 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 616352 bytes 96307933 (91.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 507054 bytes 321003180 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 616496 bytes 96324988 (91.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 507160 bytes 321013280 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 616648 bytes 96342356 (91.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 507270 bytes 321023780 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 616815 bytes 96362522 (91.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 507400 bytes 321036276 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 616986 bytes 96383183 (91.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 507529 bytes 321048774 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 617146 bytes 96402105 (91.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 507641 bytes 321059575 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 617300 bytes 96419946 (91.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 507752 bytes 321070189 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 617448 bytes 96437244 (91.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 507859 bytes 321080403 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 617626 bytes 96458458 (91.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 507989 bytes 321093015 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 617780 bytes 96476287 (92.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 508102 bytes 321103793 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 617955 bytes 96497047 (92.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 508233 bytes 321116399 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 618108 bytes 96514645 (92.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 508340 bytes 321126613 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 618257 bytes 96531893 (92.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 508444 bytes 321136553 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 618452 bytes 96555800 (92.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 508598 bytes 321151522 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 618605 bytes 96574485 (92.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 508712 bytes 321162642 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 618756 bytes 96592238 (92.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 508821 bytes 321173081 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 618903 bytes 96609114 (92.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 508925 bytes 321183021 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 619053 bytes 96626860 (92.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 509030 bytes 321193079 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 619227 bytes 96647975 (92.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 509163 bytes 321206053 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 619371 bytes 96664981 (92.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 509268 bytes 321216111 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 619547 bytes 96686285 (92.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 509405 bytes 321229281 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 619693 bytes 96703411 (92.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 509510 bytes 321239339 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 619837 bytes 96720359 (92.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 509614 bytes 321249279 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 620008 bytes 96740769 (92.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 509749 bytes 321262297 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 620184 bytes 96762096 (92.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 509877 bytes 321274753 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 620338 bytes 96780086 (92.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 509983 bytes 321284990 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 620491 bytes 96798058 (92.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 510092 bytes 321295448 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 620633 bytes 96814944 (92.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 510198 bytes 321305552 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 620797 bytes 96834997 (92.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 510327 bytes 321318054 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 620949 bytes 96853155 (92.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 510432 bytes 321328112 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 621124 bytes 96874086 (92.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 510568 bytes 321341236 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 621269 bytes 96891407 (92.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 510672 bytes 321351284 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 621410 bytes 96908432 (92.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 510778 bytes 321361348 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 621586 bytes 96929423 (92.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 510909 bytes 321373958 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 621765 bytes 96950953 (92.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 511045 bytes 321387134 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 621922 bytes 96969114 (92.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 511153 bytes 321397527 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 622074 bytes 96986772 (92.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 511264 bytes 321408029 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 622226 bytes 97004303 (92.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 511373 bytes 321418439 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 622400 bytes 97025221 (92.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 511504 bytes 321431093 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 622553 bytes 97043059 (92.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 511610 bytes 321441193 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 622724 bytes 97063602 (92.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 511742 bytes 321453869 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 622877 bytes 97081912 (92.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 511851 bytes 321464375 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 623005 bytes 97096324 (92.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 511937 bytes 321472555 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 623173 bytes 97116453 (92.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 512070 bytes 321485253 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 623348 bytes 97137681 (92.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 512199 bytes 321497795 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 623504 bytes 97155499 (92.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 512305 bytes 321508032 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 623657 bytes 97173218 (92.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 512410 bytes 321518018 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 623814 bytes 97191540 (92.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 512522 bytes 321528750 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 623984 bytes 97212044 (92.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 512652 bytes 321541362 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 624134 bytes 97229833 (92.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 512762 bytes 321551938 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 624287 bytes 97247413 (92.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 512868 bytes 321562034 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 624456 bytes 97267789 (92.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 512997 bytes 321574560 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 624621 bytes 97286341 (92.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 513104 bytes 321584698 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 624798 bytes 97307824 (92.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 513236 bytes 321597350 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 624979 bytes 97329513 (92.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 513373 bytes 321610568 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 625131 bytes 97347143 (92.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 513482 bytes 321621003 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 625286 bytes 97365095 (92.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 513588 bytes 321631099 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 625437 bytes 97382475 (92.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 513695 bytes 321641313 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 625616 bytes 97403788 (92.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 513831 bytes 321654485 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 625764 bytes 97421086 (92.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 513938 bytes 321664699 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 625919 bytes 97439038 (92.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 514044 bytes 321674795 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 626090 bytes 97459754 (92.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 514181 bytes 321688041 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 626236 bytes 97476879 (92.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 514287 bytes 321698137 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 626418 bytes 97498526 (92.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 514426 bytes 321711463 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 626596 bytes 97519542 (93.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 514557 bytes 321724121 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 626752 bytes 97537792 (93.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 514665 bytes 321734514 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 626899 bytes 97555022 (93.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 514773 bytes 321744766 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 627055 bytes 97573223 (93.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 514886 bytes 321755544 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 627231 bytes 97594379 (93.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 515017 bytes 321768198 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 627381 bytes 97611937 (93.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 515127 bytes 321778774 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 627531 bytes 97629476 (93.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 515231 bytes 321788714 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 627707 bytes 97650334 (93.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 515362 bytes 321801396 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 627863 bytes 97668294 (93.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 515467 bytes 321811378 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 628041 bytes 97689418 (93.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 515605 bytes 321824590 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 628239 bytes 97713457 (93.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 515753 bytes 321838946 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 628377 bytes 97729226 (93.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 515845 bytes 321847843 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 628528 bytes 97746643 (93.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 515950 bytes 321857825 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 628685 bytes 97765040 (93.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 516055 bytes 321867883 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 628863 bytes 97785964 (93.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 516192 bytes 321881101 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 629010 bytes 97803381 (93.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 516296 bytes 321891117 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 629160 bytes 97820738 (93.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 516400 bytes 321901057 (306.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 629337 bytes 97842056 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 516531 bytes 321913799 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 629492 bytes 97859768 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 516640 bytes 321924197 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 629664 bytes 97880192 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 516765 bytes 321936215 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 629837 bytes 97901593 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 516903 bytes 321949667 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 629990 bytes 97919220 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 517015 bytes 321960472 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 630140 bytes 97936528 (93.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 517119 bytes 321970412 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 630283 bytes 97953474 (93.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 517224 bytes 321980470 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 630444 bytes 97972978 (93.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 517348 bytes 321992470 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 630600 bytes 97991720 (93.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 517466 bytes 322003746 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 630743 bytes 98008608 (93.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 517570 bytes 322013686 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 630914 bytes 98029147 (93.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 517704 bytes 322026502 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 631059 bytes 98046134 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 517809 bytes 322036488 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 631205 bytes 98063260 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 517914 bytes 322046546 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 631394 bytes 98086730 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 518067 bytes 322061460 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 631554 bytes 98105400 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 518177 bytes 322072153 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 631722 bytes 98125372 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 518306 bytes 322084511 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 631851 bytes 98140317 (93.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 518391 bytes 322092669 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 632006 bytes 98157925 (93.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 518496 bytes 322102651 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 632180 bytes 98178501 (93.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 518633 bytes 322115941 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 632332 bytes 98196031 (93.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 518742 bytes 322126235 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 632507 bytes 98217086 (93.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 518875 bytes 322139005 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 632631 bytes 98231738 (93.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 518956 bytes 322146667 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 632789 bytes 98249867 (93.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 519063 bytes 322156881 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 632968 bytes 98271507 (93.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 519199 bytes 322169937 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 633138 bytes 98291856 (93.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 519332 bytes 322182892 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 633280 bytes 98308736 (93.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 519439 bytes 322193034 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 633432 bytes 98326466 (93.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 519551 bytes 322203766 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 633578 bytes 98343534 (93.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 519656 bytes 322213752 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 633739 bytes 98363683 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 519785 bytes 322226326 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 633892 bytes 98381655 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 519895 bytes 322236830 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 634062 bytes 98402313 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 520031 bytes 322249962 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 634206 bytes 98419261 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 520135 bytes 322259902 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 634352 bytes 98436558 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 520246 bytes 322270520 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 634529 bytes 98458036 (93.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 520377 bytes 322283054 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 634702 bytes 98478867 (93.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 520510 bytes 322296005 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 634856 bytes 98496659 (93.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 520622 bytes 322306661 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 635008 bytes 98514489 (93.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 520730 bytes 322316917 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 635159 bytes 98532201 (93.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 520836 bytes 322327013 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 635328 bytes 98552643 (93.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 520972 bytes 322340261 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 635473 bytes 98569943 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 521076 bytes 322350201 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 635655 bytes 98591665 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 521213 bytes 322363443 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 635809 bytes 98609505 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 521317 bytes 322373383 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 635951 bytes 98626674 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 521424 bytes 322383597 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 636127 bytes 98647852 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 521557 bytes 322396451 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 636297 bytes 98668454 (94.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 521687 bytes 322409204 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 636453 bytes 98686596 (94.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 521797 bytes 322419708 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 636623 bytes 98706400 (94.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 521922 bytes 322431666 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 636759 bytes 98721873 (94.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 522012 bytes 322440230 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 636924 bytes 98742029 (94.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 522142 bytes 322452846 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 637070 bytes 98759415 (94.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 522248 bytes 322462914 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 637245 bytes 98780464 (94.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 522381 bytes 322475684 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 637420 bytes 98799503 (94.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 522486 bytes 322485666 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 637570 bytes 98817100 (94.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 522592 bytes 322495766 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 637748 bytes 98838157 (94.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 522726 bytes 322508730 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 637916 bytes 98858688 (94.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 522856 bytes 322521483 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 638068 bytes 98876318 (94.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 522966 bytes 322531987 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 638217 bytes 98893624 (94.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 523071 bytes 322542045 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 638373 bytes 98911903 (94.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 523175 bytes 322551985 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 638538 bytes 98932558 (94.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 523309 bytes 322565077 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 638682 bytes 98949485 (94.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 523414 bytes 322575063 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 638864 bytes 98971207 (94.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 523551 bytes 322588305 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 639014 bytes 98988755 (94.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 523654 bytes 322598139 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 639156 bytes 99005690 (94.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 523759 bytes 322608197 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 639324 bytes 99026144 (94.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 523888 bytes 322620579 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 639494 bytes 99046948 (94.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 524024 bytes 322633896 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 639639 bytes 99064148 (94.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 524134 bytes 322644400 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 639781 bytes 99080782 (94.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 524240 bytes 322654504 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 639937 bytes 99098873 (94.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 524350 bytes 322665008 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 640113 bytes 99119978 (94.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 524479 bytes 322677582 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 640265 bytes 99137838 (94.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 524585 bytes 322687678 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 640419 bytes 99156944 (94.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 524711 bytes 322699802 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 640580 bytes 99175663 (94.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 524826 bytes 322710864 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 640725 bytes 99192729 (94.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 524931 bytes 322720922 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 640908 bytes 99214376 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 525065 bytes 322733822 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 641075 bytes 99234787 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 525196 bytes 322746617 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 641228 bytes 99252275 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 525302 bytes 322756645 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 641392 bytes 99270904 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 525413 bytes 322767263 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 641544 bytes 99288332 (94.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 525518 bytes 322777245 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 641718 bytes 99309082 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 525648 bytes 322789861 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 641866 bytes 99326354 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 525752 bytes 322799801 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 642023 bytes 99344278 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 525858 bytes 322809905 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 642183 bytes 99363207 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 525967 bytes 322820507 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 642329 bytes 99380333 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 526072 bytes 322830565 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 642514 bytes 99401911 (94.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 526203 bytes 322843099 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 642696 bytes 99423769 (94.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 526340 bytes 322856526 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 642853 bytes 99441780 (94.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 526445 bytes 322866580 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 643001 bytes 99459078 (94.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 526552 bytes 322876794 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 643156 bytes 99476767 (94.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 526660 bytes 322887046 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 643327 bytes 99497630 (94.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 526796 bytes 322900294 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 643474 bytes 99514758 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 526901 bytes 322910276 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 643625 bytes 99532477 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 527014 bytes 322921050 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 643795 bytes 99552968 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 527144 bytes 322933546 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 643945 bytes 99570617 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 527252 bytes 322943802 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 644126 bytes 99592508 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 527384 bytes 322956382 (307.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 644305 bytes 99613882 (94.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 527520 bytes 322969699 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 644453 bytes 99631070 (95.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 527624 bytes 322979639 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 644601 bytes 99648547 (95.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 527729 bytes 322989697 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 644761 bytes 99666878 (95.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 527838 bytes 323000155 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 644930 bytes 99687611 (95.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 527969 bytes 323012885 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 645087 bytes 99705762 (95.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 528078 bytes 323023343 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 645258 bytes 99725734 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 528205 bytes 323035457 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 645414 bytes 99743985 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 528315 bytes 323046121 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 645560 bytes 99761394 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 528422 bytes 323056335 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 645740 bytes 99782916 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 528561 bytes 323069589 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 645916 bytes 99803927 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 528692 bytes 323082388 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 646059 bytes 99821195 (95.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 528795 bytes 323092286 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 646203 bytes 99838201 (95.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 528900 bytes 323102344 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 646360 bytes 99856352 (95.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 529009 bytes 323112802 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 646531 bytes 99876722 (95.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 529141 bytes 323125574 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 646685 bytes 99894641 (95.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 529248 bytes 323135880 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 646842 bytes 99912658 (95.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 529354 bytes 323145980 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 647014 bytes 99933378 (95.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 529489 bytes 323158994 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 647156 bytes 99950264 (95.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 529596 bytes 323169140 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 647331 bytes 99971225 (95.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 529726 bytes 323181600 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 647509 bytes 99992718 (95.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 529863 bytes 323194987 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 647653 bytes 100009655 (95.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 529973 bytes 323205491 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 647800 bytes 100026893 (95.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 530081 bytes 323215751 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 647979 bytes 100048006 (95.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 530212 bytes 323228265 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 648130 bytes 100065859 (95.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 530320 bytes 323238685 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 648285 bytes 100083885 (95.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 530431 bytes 323249279 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 648430 bytes 100100951 (95.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 530536 bytes 323259337 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 648607 bytes 100122070 (95.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 530670 bytes 323272373 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 648754 bytes 100139235 (95.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 530776 bytes 323282477 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 648913 bytes 100157367 (95.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 530880 bytes 323292417 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 649094 bytes 100179899 (95.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 531030 bytes 323307110 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 649252 bytes 100198487 (95.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 531143 bytes 323318024 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 649393 bytes 100215313 (95.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 531249 bytes 323328128 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 649546 bytes 100232801 (95.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 531353 bytes 323338068 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 649696 bytes 100250205 (95.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 531465 bytes 323348806 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 649867 bytes 100271506 (95.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 531596 bytes 323361618 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 650020 bytes 100289052 (95.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 531701 bytes 323371676 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 650186 bytes 100309181 (95.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 531829 bytes 323384084 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 650341 bytes 100327270 (95.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 531939 bytes 323394660 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 650488 bytes 100344682 (95.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 532044 bytes 323404646 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 650662 bytes 100365552 (95.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 532180 bytes 323417843 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 650822 bytes 100385118 (95.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 532308 bytes 323430299 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 650967 bytes 100402476 (95.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 532414 bytes 323440403 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 651106 bytes 100419124 (95.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 532518 bytes 323450343 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 651255 bytes 100436622 (95.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 532629 bytes 323460965 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 651420 bytes 100456618 (95.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 532762 bytes 323473939 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 651574 bytes 100474224 (95.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 532867 bytes 323483997 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 651725 bytes 100492244 (95.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 532973 bytes 323494297 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 651871 bytes 100509219 (95.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 533083 bytes 323504749 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 652029 bytes 100527583 (95.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 533187 bytes 323514689 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 652197 bytes 100547901 (95.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 533318 bytes 323527368 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 652371 bytes 100568959 (95.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 533451 bytes 323540342 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 652521 bytes 100586608 (95.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 533558 bytes 323550556 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 652667 bytes 100603907 (95.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 533663 bytes 323560542 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 652813 bytes 100621456 (95.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 533773 bytes 323571102 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 652981 bytes 100641710 (95.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 533904 bytes 323583776 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 653128 bytes 100658896 (95.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 534009 bytes 323593834 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 653304 bytes 100679908 (96.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 534145 bytes 323606962 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 653454 bytes 100697505 (96.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 534250 bytes 323617020 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 653605 bytes 100715768 (96.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 534355 bytes 323627006 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 653781 bytes 100737043 (96.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 534490 bytes 323640157 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 653952 bytes 100757605 (96.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 534619 bytes 323652723 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 654095 bytes 100774299 (96.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 534725 bytes 323662827 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 654245 bytes 100792030 (96.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 534835 bytes 323673331 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 654391 bytes 100809156 (96.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 534940 bytes 323683389 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 654561 bytes 100829608 (96.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 535069 bytes 323695891 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 654707 bytes 100846734 (96.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 535175 bytes 323705995 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 654880 bytes 100867423 (96.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 535305 bytes 323718559 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 655030 bytes 100884972 (96.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 535411 bytes 323728663 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 655187 bytes 100903155 (96.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 535520 bytes 323739121 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 655360 bytes 100923788 (96.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 535650 bytes 323751754 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 655529 bytes 100944752 (96.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 535784 bytes 323764774 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 655681 bytes 100962290 (96.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 535891 bytes 323774988 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 655834 bytes 100979778 (96.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 535996 bytes 323784970 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 655981 bytes 100997247 (96.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 536104 bytes 323795226 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 656147 bytes 101017597 (96.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 536238 bytes 323808242 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 656296 bytes 101034752 (96.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 536346 bytes 323818498 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 656474 bytes 101055692 (96.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 536477 bytes 323831104 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 656622 bytes 101073335 (96.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 536587 bytes 323841640 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 656770 bytes 101091064 (96.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 536692 bytes 323851666 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 656945 bytes 101111856 (96.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 536825 bytes 323864501 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 657123 bytes 101132941 (96.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 536959 bytes 323877521 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 657265 bytes 101149781 (96.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 537067 bytes 323887781 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 657428 bytes 101168631 (96.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 537178 bytes 323898395 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 657576 bytes 101185978 (96.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 537286 bytes 323908655 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 657741 bytes 101206142 (96.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 537422 bytes 323921831 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 657893 bytes 101223680 (96.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 537529 bytes 323932045 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 658068 bytes 101244671 (96.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 537660 bytes 323944651 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 658221 bytes 101262701 (96.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 537769 bytes 323955185 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 658378 bytes 101281005 (96.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 537873 bytes 323965125 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 658555 bytes 101301948 (96.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 538006 bytes 323977956 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 658723 bytes 101322223 (96.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 538135 bytes 323990458 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 658872 bytes 101339721 (96.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 538245 bytes 324001034 (308.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 659019 bytes 101356849 (96.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 538349 bytes 324010974 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 659165 bytes 101373975 (96.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 538454 bytes 324021032 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 659345 bytes 101395967 (96.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 538591 bytes 324034282 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 659487 bytes 101412827 (96.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 538696 bytes 324044308 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 659656 bytes 101432754 (96.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 538820 bytes 324056268 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 659813 bytes 101451324 (96.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 538935 bytes 324067334 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 659965 bytes 101469228 (96.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 539044 bytes 324077792 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 660140 bytes 101490020 (96.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 539175 bytes 324090467 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 660313 bytes 101510883 (96.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 539303 bytes 324102923 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 660468 bytes 101528841 (96.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 539409 bytes 324113027 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 660618 bytes 101546201 (96.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 539515 bytes 324123123 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 660766 bytes 101563027 (96.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 539621 bytes 324133227 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 660942 bytes 101584083 (96.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 539758 bytes 324146445 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 661092 bytes 101601498 (96.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 539863 bytes 324156503 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 661246 bytes 101619770 (96.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 539970 bytes 324166645 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 661417 bytes 101640318 (96.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 540102 bytes 324179373 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 661571 bytes 101658443 (96.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 540214 bytes 324190033 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 661746 bytes 101679035 (96.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 540347 bytes 324202864 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 661915 bytes 101699479 (96.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 540477 bytes 324215476 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 662069 bytes 101717560 (97.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 540589 bytes 324226208 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 662222 bytes 101735279 (97.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 540693 bytes 324236148 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 662372 bytes 101752645 (97.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 540798 bytes 324246206 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 662545 bytes 101773518 (97.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 540933 bytes 324259268 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 662691 bytes 101790644 (97.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 541040 bytes 324269414 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 662839 bytes 101807811 (97.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 541145 bytes 324279396 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 663003 bytes 101827941 (97.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 541281 bytes 324292528 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 663151 bytes 101846024 (97.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 541386 bytes 324302510 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 663331 bytes 101867408 (97.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 541518 bytes 324315227 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 663500 bytes 101888031 (97.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 541646 bytes 324327683 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 663652 bytes 101905940 (97.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 541758 bytes 324338347 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 663797 bytes 101922997 (97.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 541863 bytes 324348329 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 663948 bytes 101940363 (97.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 541975 bytes 324358993 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 664118 bytes 101961098 (97.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 542106 bytes 324371647 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 664270 bytes 101978776 (97.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 542217 bytes 324382265 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 664440 bytes 101998968 (97.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 542342 bytes 324394147 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 664598 bytes 102017745 (97.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 542458 bytes 324405379 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 664747 bytes 102035558 (97.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 542564 bytes 324415471 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 664926 bytes 102056494 (97.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 542690 bytes 324427668 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 665092 bytes 102077219 (97.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 542825 bytes 324440758 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 665225 bytes 102093744 (97.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 542927 bytes 324450618 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 665376 bytes 102111535 (97.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 543036 bytes 324461076 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 665523 bytes 102128770 (97.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 543141 bytes 324471134 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 665714 bytes 102152218 (97.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 543292 bytes 324485688 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 665840 bytes 102166983 (97.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 543376 bytes 324493804 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 665988 bytes 102184363 (97.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 543487 bytes 324504354 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 666150 bytes 102204466 (97.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 543621 bytes 324517398 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 666300 bytes 102222110 (97.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 543729 bytes 324527586 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 666459 bytes 102240352 (97.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 543842 bytes 324538497 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 666650 bytes 102263862 (97.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 543993 bytes 324553095 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 666805 bytes 102282154 (97.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 544105 bytes 324563811 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 666955 bytes 102300134 (97.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 544209 bytes 324573751 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 667110 bytes 102318171 (97.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 544316 bytes 324584025 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 667272 bytes 102337766 (97.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 544444 bytes 324596373 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 667423 bytes 102355751 (97.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 544553 bytes 324606887 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 667578 bytes 102373551 (97.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 544662 bytes 324617345 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 667753 bytes 102394370 (97.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 544792 bytes 324629913 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 667912 bytes 102412925 (97.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 544902 bytes 324640417 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 668063 bytes 102430674 (97.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 545008 bytes 324650654 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 668237 bytes 102451082 (97.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 545136 bytes 324662990 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 668412 bytes 102472098 (97.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 545271 bytes 324676128 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 668562 bytes 102489406 (97.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 545375 bytes 324686068 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 668720 bytes 102507544 (97.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 545480 bytes 324696126 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 668877 bytes 102526075 (97.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 545589 bytes 324706584 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 669050 bytes 102546923 (97.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 545724 bytes 324719722 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 669196 bytes 102564040 (97.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 545828 bytes 324729662 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 669371 bytes 102585089 (97.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 545962 bytes 324742706 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 669521 bytes 102602712 (97.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 546068 bytes 324752802 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 669674 bytes 102620350 (97.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 546174 bytes 324763039 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 669845 bytes 102640996 (97.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 546309 bytes 324776049 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 670013 bytes 102661436 (97.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 546443 bytes 324789141 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 670180 bytes 102681208 (97.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 546569 bytes 324801137 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 670317 bytes 102696683 (97.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 546655 bytes 324809405 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 670460 bytes 102713473 (97.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 546760 bytes 324819391 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 670632 bytes 102734079 (97.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 546889 bytes 324831965 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 670764 bytes 102749290 (97.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 546972 bytes 324839943 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 670934 bytes 102769987 (98.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 547102 bytes 324852511 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 671093 bytes 102788402 (98.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 547208 bytes 324862607 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 671238 bytes 102805609 (98.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 547314 bytes 324872844 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 671412 bytes 102826614 (98.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 547448 bytes 324885644 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 671573 bytes 102846332 (98.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 547581 bytes 324898566 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 671719 bytes 102863210 (98.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 547687 bytes 324908662 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 671872 bytes 102881188 (98.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 547794 bytes 324918936 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 672016 bytes 102898237 (98.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 547901 bytes 324929178 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 672187 bytes 102918973 (98.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548034 bytes 324942184 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 672362 bytes 102939491 (98.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548161 bytes 324954198 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 672519 bytes 102958216 (98.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548274 bytes 324965068 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 672675 bytes 102976527 (98.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548379 bytes 324975050 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 672820 bytes 102993685 (98.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548486 bytes 324985329 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 672996 bytes 103014689 (98.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548616 bytes 324997753 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 673170 bytes 103035654 (98.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548751 bytes 325010847 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 673324 bytes 103053459 (98.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548857 bytes 325020915 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 673475 bytes 103070885 (98.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 548963 bytes 325031015 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 673634 bytes 103089016 (98.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549070 bytes 325041153 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 673803 bytes 103108956 (98.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549201 bytes 325053815 (309.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 673967 bytes 103127348 (98.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549315 bytes 325064563 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 674143 bytes 103148457 (98.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549448 bytes 325077333 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 674300 bytes 103166661 (98.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549558 bytes 325087833 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 674466 bytes 103186471 (98.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549686 bytes 325100058 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 674630 bytes 103205302 (98.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549795 bytes 325110536 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 674798 bytes 103226018 (98.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 549924 bytes 325123110 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 674956 bytes 103244229 (98.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550033 bytes 325133568 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 675104 bytes 103261272 (98.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550140 bytes 325143788 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 675256 bytes 103278931 (98.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550242 bytes 325153566 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 675439 bytes 103300639 (98.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550378 bytes 325166814 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 675593 bytes 103318479 (98.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550482 bytes 325176754 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 675771 bytes 103339950 (98.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550620 bytes 325190106 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 675927 bytes 103358194 (98.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550723 bytes 325200004 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 676072 bytes 103375149 (98.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550829 bytes 325210241 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 676241 bytes 103395431 (98.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 550958 bytes 325222623 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 676412 bytes 103415812 (98.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551088 bytes 325235243 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 676566 bytes 103433591 (98.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551192 bytes 325245183 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 676726 bytes 103452912 (98.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551312 bytes 325256689 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 676869 bytes 103469671 (98.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551411 bytes 325266217 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 677041 bytes 103490353 (98.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551542 bytes 325278947 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 677190 bytes 103507450 (98.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551649 bytes 325289085 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 677363 bytes 103527748 (98.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551778 bytes 325301407 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 677519 bytes 103546308 (98.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 551890 bytes 325312039 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 677675 bytes 103564549 (98.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552003 bytes 325322882 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 677847 bytes 103585242 (98.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552133 bytes 325335306 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 678038 bytes 103608493 (98.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552282 bytes 325349780 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 678170 bytes 103623708 (98.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552366 bytes 325357820 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 678319 bytes 103640993 (98.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552472 bytes 325367924 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 678469 bytes 103658301 (98.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552576 bytes 325377864 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 678659 bytes 103682027 (98.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552732 bytes 325393012 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 678789 bytes 103696974 (98.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552816 bytes 325401052 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 678940 bytes 103714592 (98.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 552928 bytes 325411716 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 679111 bytes 103735314 (98.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553057 bytes 325424166 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 679278 bytes 103755415 (98.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553184 bytes 325436345 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 679438 bytes 103773988 (98.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553301 bytes 325447543 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 679612 bytes 103794738 (98.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553431 bytes 325460159 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 679767 bytes 103812587 (99.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553541 bytes 325470663 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 679912 bytes 103829653 (99.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553647 bytes 325480767 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 680066 bytes 103847624 (99.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553757 bytes 325491271 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 680235 bytes 103868357 (99.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 553889 bytes 325504047 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 680397 bytes 103886678 (99.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554000 bytes 325514661 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 680549 bytes 103904575 (99.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554107 bytes 325524875 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 680729 bytes 103925865 (99.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554237 bytes 325537439 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 680885 bytes 103943683 (99.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554343 bytes 325547676 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 681068 bytes 103965231 (99.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554479 bytes 325560728 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 681247 bytes 103986562 (99.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554609 bytes 325573412 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 681398 bytes 104004161 (99.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554714 bytes 325583398 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 681550 bytes 104021395 (99.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554820 bytes 325593498 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 681695 bytes 104038595 (99.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 554930 bytes 325603998 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 681868 bytes 104059568 (99.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555063 bytes 325616816 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 682020 bytes 104077188 (99.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555173 bytes 325627316 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 682164 bytes 104094246 (99.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555281 bytes 325637572 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 682336 bytes 104115429 (99.2 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555412 bytes 325650238 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 682492 bytes 104134023 (99.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555525 bytes 325661021 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 682664 bytes 104154089 (99.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555657 bytes 325673637 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 682836 bytes 104175367 (99.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555795 bytes 325687001 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 682988 bytes 104193192 (99.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 555904 bytes 325697419 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 683157 bytes 104213168 (99.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556032 bytes 325709619 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 683289 bytes 104228287 (99.3 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556119 bytes 325717861 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 683456 bytes 104248492 (99.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556246 bytes 325730135 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 683609 bytes 104266584 (99.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556356 bytes 325740687 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 683748 bytes 104283282 (99.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556469 bytes 325751465 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 683922 bytes 104304266 (99.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556600 bytes 325764075 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 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/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 684077 bytes 104322499 (99.4 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556713 bytes 325774986 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 684223 bytes 104339567 (99.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556818 bytes 325784972 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 684411 bytes 104363130 (99.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 556974 bytes 325800140 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 684562 bytes 104380869 (99.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557082 bytes 325810488 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 684707 bytes 104398166 (99.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557188 bytes 325820592 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 684859 bytes 104415534 (99.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557297 bytes 325831050 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 685003 bytes 104432589 (99.5 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557402 bytes 325841108 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 685176 bytes 104453379 (99.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557535 bytes 325854082 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 685319 bytes 104470374 (99.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557640 bytes 325864140 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 685497 bytes 104491738 (99.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557769 bytes 325876594 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 685648 bytes 104509487 (99.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557876 bytes 325886877 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 685796 bytes 104526727 (99.6 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 557983 bytes 325897019 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 685991 bytes 104550103 (99.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558139 bytes 325912207 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 686144 bytes 104568071 (99.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558250 bytes 325922805 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 686301 bytes 104586712 (99.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558362 bytes 325933537 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 686449 bytes 104603952 (99.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558468 bytes 325943633 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 686596 bytes 104621188 (99.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558574 bytes 325953801 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 686770 bytes 104642018 (99.7 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558708 bytes 325966821 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 686907 bytes 104658835 (99.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558813 bytes 325976879 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 687078 bytes 104679573 (99.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 558949 bytes 325990007 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 687223 bytes 104696780 (99.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559056 bytes 326000286 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 687372 bytes 104714028 (99.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559161 bytes 326010268 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 687547 bytes 104734780 (99.8 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559293 bytes 326022920 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 687722 bytes 104755851 (99.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559430 bytes 326036138 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 687868 bytes 104773321 (99.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559539 bytes 326046440 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 688026 bytes 104791645 (99.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559651 bytes 326057100 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 688169 bytes 104808719 (99.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559757 bytes 326067204 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 688336 bytes 104829040 (99.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559885 bytes 326079660 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 688485 bytes 104846577 (99.9 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 559990 bytes 326089718 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] daily_activity_report.py: error: argument -H/--host_fotonower: expected one argument nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 688666 bytes 104868222 (100.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560125 bytes 326102800 (310.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 688820 bytes 104886086 (100.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560236 bytes 326113515 (311.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 688968 bytes 104903300 (100.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560341 bytes 326123541 (311.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 689133 bytes 104923302 (100.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560470 bytes 326135995 (311.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 689311 bytes 104944420 (100.0 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560603 bytes 326148929 (311.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 689477 bytes 104963064 (100.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560710 bytes 326159119 (311.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 689627 bytes 104980372 (100.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560815 bytes 326169101 (311.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. usage: daily_activity_report.py [-h] [-p PORT] [-T TIMEOUT] [-P PAUSE] [-d DATE] [-u USER_UP] [-b BASENAME] [-f BASEFOLDER] [-g GITRAPINOWER] [-t TOKEN] [-H HOST_FOTONOWER] [-v] 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/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) nb taken pictures : 0 outs: b'enxb827eb707150: flags=4163 mtu 1500\n inet 192.168.1.89 netmask 255.255.255.0 broadcast 192.168.1.255\n inet6 2a01:cb00:88b:4d00:bdbd:eb7a:28ae:5b88 prefixlen 64 scopeid 0x0\n inet6 fe80::57d6:58f7:ce45:3b8f prefixlen 64 scopeid 0x20\n ether b8:27:eb:70:71:50 txqueuelen 1000 (Ethernet)\n RX packets 689777 bytes 104997738 (100.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 560922 bytes 326179247 (311.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 82785 bytes 14829323 (14.1 MiB)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 82785 bytes 14829323 (14.1 MiB)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\nwlan0: flags=4099 mtu 1500\n ether b8:27:eb:25:24:05 txqueuelen 1000 (Ethernet)\n RX packets 0 bytes 0 (0.0 B)\n RX errors 0 dropped 0 overruns 0 frame 0\n TX packets 0 bytes 0 (0.0 B)\n TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0\n\n' /sbin/ifconfig Error : None file /home/pi/.log/2025/04/16/classify/new_classify.txt does not exist. All values set to 0. /home/pi 0 v1.10.0_:_OS-FTN-1.7_:_Linux-raspi-112-5.4.79-v7+-#1373-SMP-Mon-Nov-23-13:22:33-GMT-2020-armv7l-GNU/Linux --- Logging error --- Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 275, in get_info_from_sqlite with open(counter_photo) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 99, in getAllInfosEachRaspi nbr_pic_colors = get_info_from_sqlite(timeout,date,verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 278, in get_info_from_sqlite logger.info("erreur : ", str(e)) Message: 'erreur : ' Arguments: ("[Errno 2] No such file or directory: '/home/pi/.fotonower_config/16042025/counter_photo'",) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 122, in getAllInfosEachRaspi logger.info("ver=", ver) Message: 'ver=' Arguments: ('v1.10.0)',) --- Logging error --- Traceback (most recent call last): File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit msg = self.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 880, in format return fmt.format(record) File "/usr/lib/python3.7/logging/__init__.py", line 619, in format record.message = record.getMessage() File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Call stack: File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 125, in getAllInfosEachRaspi logger.info("version=", version) Message: 'version=' Arguments: ('v1.10.0',) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 405, in getAllInfosEachRaspi(x.verbose, x.port, x.pause, x.user_up, x.basename, x.basefolder, x.gitrapinower, x.token, x.host_fotonower, x.timeout,x.date) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 161, in getAllInfosEachRaspi insertInfoOnDB(user_up, port, hostname, basename, basefolder, pause, nbr_pic_colors, space, lsblk, Version, token, host_fotonower, uptime, operator, ip, measure_temp, uptime_day, verbose) File "/home/pi/workarea/git/raspi-fotonower-x/python/daily_activity_report.py", line 208, in insertInfoOnDB r = requests.post(requete, data=data) File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/raspi/add (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))